[Samba] Option configure

Sonic sonicsmith at gmail.com
Tue Jul 12 19:28:06 UTC 2016


On Tue, Jul 12, 2016 at 3:00 PM, Rowland penny <rpenny at samba.org> wrote:
> Are starting the 'smbd', 'nmbd' and samba binaries together ?

I have "After=network.target nmbd.service" in my smbd.service file so
nmbd will always start first. This is on my desktop system which is
just a file sever "security = user". It appears that either type,
forking or notify works fine on this system, although forking has been
used successfully for many months.

On a test system running an AD (server role = active directory domain
controller) samba dies shortly after starting if I use Type=notify,
only Type=forking is successful at keeping it running.

Another strange oddity, referencing the page @
https://wiki.samba.org/index.php/Changing_the_DNS_backend#Changing_from_Samba_Internal_DNS_to_BIND_DLZ
it appears that using that the "dns" entry in "server services" ,
either plain or prepended with a + or - has some bearing on whether or
not one is using the internal DNS or BIND_DLZ. As I provisioned with
BIND_DLZ I run fine with "dns" left out of the "server services" parm,
but attempting to use "-dns" prevents samba from running properly -
not all of the services start (winbondd for one) and it dies soon
after starting. I'm wondering if that page is in error or if "-dns" is
only valid if at one time previously samba was running with the
internal DNS.

Thanks,

Chris



More information about the samba mailing list