How can I run server services?

Jeygon Kim xeros0320 at gmail.com
Mon Jul 6 05:36:19 UTC 2020


Hello.

I've been recently looking into samba source code for studying purposes.

When I run samba binary in the default model, I can see that several
different prefork worker processes are created.

How can I run other tasks such as smbsrv or ldapsrv that are not created by
default?

In source4/smb_server/service_smb.c:96 it says that server_service_smb_init
is called at smbd startup but when I manually add breakpoint to the
function it doesn't stop.

I would appreciate any help.

Thanks.


More information about the samba-technical mailing list