[Samba] domain authentication issue after rebooting Debian Jessie - need to restart samba each time

gimili gimili17 at gmail.com
Tue Dec 15 18:31:28 UTC 2015


On 12/15/2015 12:13 PM, L.P.H. van Belle wrote:
> Hai,
>
> If not, well, very stange, i have about 7 Jessie's here with samba and
> i dont have any problems.
> I think systemd is blocking your startup of samba due to multple errors on startups previously.
>
> Few questions?
>
> Do you have samba with shares over nfs?
> If so, create te following folder :
> /etc/systemd/system/nfs-common.service.d/
>
> Add the following file with content to the file : remote-fs-pre.conf
> [Unit]
> Before=remote-fs-pre.target
> Wants=remote-fs-pre.target
>
>
> What is the output of ?
> systemctl status samba-ad-dc
>
> if its masked..  then type :'
> systemctl unmask samba-ad-dc
> and
> systemctl restart samba-ad-dc
> reboot and see if its all started.
> Greetz,
>
> Louis
>

Still no luck.  Maybe I am back to a delayed start using /etc/rc.local.  
Good to know it is working for someone.  I must have done something 
wrong.  Perhaps I will start from scratch.

 >systemctl status samba-ad-dc

â samba-ad-dc.service - LSB: start Samba daemons for the AD DC
    Loaded: loaded (/etc/init.d/samba-ad-dc)
    Active: active (running) since Tue 2015-12-15 13:14:43 EST; 11min ago
    CGroup: /system.slice/samba-ad-dc.service
            ââ846 /usr/sbin/samba -D
            ââ900 /usr/sbin/samba -D
            ââ901 /usr/sbin/samba -D
            ââ902 /usr/sbin/samba -D
            ââ903 /usr/sbin/samba -D
            ââ904 /usr/sbin/samba -D
            ââ905 /usr/sbin/smbd -D --option=server role 
check:inhibit=yes --foreground
            ââ906 /usr/sbin/samba -D
            ââ907 /usr/sbin/samba -D
            ââ908 /usr/sbin/samba -D
            ââ909 /usr/sbin/samba -D
            ââ910 /usr/sbin/samba -D
            ââ911 /usr/sbin/samba -D
            ââ912 /usr/sbin/samba -D
            ââ913 /usr/sbin/samba -D
            ââ938 /usr/sbin/smbd -D --option=server role 
check:inhibit=yes --foreground

Dec 15 13:14:43 bob.ad.test.org samba[841]: [2015/12/15 
13:14:43.398943,  0] ../source4/smbd/server.c:370(binary_smbd_main)
Dec 15 13:14:43 bob.ad.test.org samba[841]: samba version 4.1.17-Debian 
started.
Dec 15 13:14:43 bob.ad.test.org samba[841]: Copyright Andrew Tridgell 
and the Samba Team 1992-2013
Dec 15 13:14:43 bob.ad.test.org samba-ad-dc[471]: Starting Samba AD DC 
daemon: samba.
Dec 15 13:14:43 bob.ad.test.org samba[846]: [2015/12/15 
13:14:43.782455,  0] ../source4/smbd/server.c:488(binary_smbd_main)
Dec 15 13:14:43 bob.ad.test.org samba[846]: samba: using 'standard' 
process model
Dec 15 13:14:43 bob.ad.test.org samba[846]: [2015/12/15 
13:14:43.829676,  0] ../lib/util/become_daemon.c:136(daemon_ready)
Dec 15 13:14:44 bob.ad.test.org smbd[905]: [2015/12/15 13:14:44.332073,  
0] ../lib/util/become_daemon.c:136(daemon_ready)
Dec 15 13:25:03 bob.ad.test.org samba[912]: [2015/12/15 
13:25:03.932432,  0] 
../source4/dsdb/dns/dns_update.c:294(dnsupdate_nameupdate_done)
Dec 15 13:25:03 bob.ad.test.org samba[912]: 
../source4/dsdb/dns/dns_update.c:294: Failed DNS update - 
NT_STATUS_IO_TIMEOUT

-
gimili




More information about the samba mailing list