L.P.H. van Belle
2015-Dec-15 17:13 UTC
[Samba] domain authentication issue after rebooting Debian Jessie - need to restart samba each time
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> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens gimili > Verzonden: dinsdag 15 december 2015 16:32 > Aan: Rowland penny > CC: samba at lists.samba.org > Onderwerp: Re: [Samba] domain authentication issue after rebooting Debian > Jessie - need to restart samba each time > > On 12/12/2015 11:19 AM, Rowland penny wrote: > > On 12/12/15 15:04, Gimili wrote: > >> > >>> On Dec 11, 2015, at 12:27 PM, Rowland penny <rpenny at samba.org> wrote: > >>> > >>>> On 11/12/15 16:52, gimili wrote: > >>>> I followed the instructions here: > >>>> > https://wiki.samba.org/index.php/Setup_a_Samba_Active_Directory_Domain_Con > troller.' > >>>> > >>>> Everything works find except when I reboot I have to restart samba > >>>> or I added a pause and then restart to /etc/rc.local otherwise the > >>>> windows machines can't authenticate. > >>>> > >>>> I googled this problem but have not been able to figure out the > >>>> solution. > >>>> > >>>> My OS is debian Jessie. > >>>> > >>>> Many thanks for any help/advice. > >>>> > >>> OK, I understand that you followed the wiki and you are using debian > >>> jessie, but just how did you install Samba, from distro packages or > >>> Sernet, or self compiled ? > >>> > >>> Rowland > >> From the distro packages. > > > > OK, this means that you are running 4.1.17 and I think this is what is > > happening: > > > > When you install the samba package on jessie it installs the following > > files in /etc/init.d > > > > nmbd > > samba > > samba-ad-dc > > smbd > > > > It then runs 'update-rc.d xxxx defaults' and 'invoke-rc.d xxxx start' > > where 'xxxx' is one of the filenames above, it does this for all the 4 > > files. > > > > You then setup Samba as an active directory controller and so you only > > need the 'samba-ad-dc' init file, this will start smbd. You do not > > need the others, but they will still try to start at boot, so what I > > suggest you do (and what I did) is to remove the ones you do not need. > > > > update-rc.d -f nmbd remove > > update-rc.d -f smbd remove > > update-rc.d -f samba remove > > > > You should check if the winbind package is installed, if it is, you > > should also stop this being started at boot. > > > > Reboot the DC, it should now just start the samba deamon via > > /etc/init.d/samba-ad-dc, this will then start smbd. > > > > Hopefully this should fix your problem, if it does, you can then > > remove the unwanted init files: > > > > rm -f /etc/init.d/ nmbd > > rm -f /etc/init.d/ smbd > > rm -f /etc/init.d/ samba > > > > Note, if do this, you do it at your risk, it shouldn't damage anything > > (well it didn't for me), you should also backup everything just in case. > > > > Rowland > > > Thank you kindly for the advice. I gave it a whirl and still no luck on > reboot. I now have to manually start /etc/init.d/samba-ad-dc. Any > other suggestions please and thanks. > -- > gimili > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Rowland penny
2015-Dec-15 17:41 UTC
[Samba] domain authentication issue after rebooting Debian Jessie - need to restart samba each time
On 15/12/15 17:13, 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.And people wonder why I won't use systemd :-D Why, oh why, is systemd allowed to stop something starting up, without displaying an obvious message at boot? or is this another one of those famous systemd features??? Easy cure for this, upgrade to Devuan. Rowland> > 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 > > > > >
gimili
2015-Dec-15 18:31 UTC
[Samba] domain authentication issue after rebooting Debian Jessie - need to restart samba each time
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
Rowland penny
2015-Dec-15 19:21 UTC
[Samba] domain authentication issue after rebooting Debian Jessie - need to restart samba each time
On 15/12/15 18:31, gimili wrote:> 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 >I wonder if systemd doesn't like the DNS update failing?? you could try adding 'allow dns updates = nonsecure' to the smb.conf on the DC. It should work, Louis uses debian jessie and he doesn't have problems, I definitely don't have problems, but then again, I use devuan jessie on my DCs. Could you post the smb.conf from the DC? Rowland
Sébastien Le Ray
2015-Dec-15 19:56 UTC
[Samba] domain authentication issue after rebooting Debian Jessie - need to restart samba each time
Le 15/12/2015 20:55, Sébastien Le Ray a écrit :> > > Le 15/12/2015 20:21, Rowland penny a écrit : >> On 15/12/15 18:31, gimili wrote: >>> >>> >>> >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 >>> [snip] >>> 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 >>> >> >> I wonder if systemd doesn't like the DNS update failing?? > > "Active: active (running)" so there's nothing it doesn't like > > Is this status right after boot or after restart? > >
L.P.H. van Belle
2015-Dec-16 08:44 UTC
[Samba] domain authentication issue after rebooting Debian Jessie - need to restart samba each time
Devuan.. a thing im going to have a look into. I do get why debian is swithching to systemd.. really much better control of the startup process, but yeah, lots harder to configure... Besides that... This is a samba using internal DNS? Can you also post the output of systemctl list-dependencies samba-ad-dc or systemctl list-dependencies and post systemctl show samba-ad-dc.service | egrep "After|ExecS" as already requested the content of smb.conf Greez, Louis> -----Oorspronkelijk bericht----- > Van: gimili [mailto:gimili17 at gmail.com] > Verzonden: dinsdag 15 december 2015 19:31 > Aan: L.P.H. van Belle; samba at lists.samba.org > Onderwerp: Re: [Samba] domain authentication issue after rebooting Debian > Jessie - need to restart samba each time > > 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
Daniel Carrasco Marín
2015-Dec-16 09:25 UTC
[Samba] domain authentication issue after rebooting Debian Jessie - need to restart samba each time
Hi again, i've restarted my server to check if fails and is working fine. My specifications are: - Debian 8u6 jessie 3.16.0-4-amd64 - Samba version 4.2.5-SerNet-Debian-8.jessie - DNS Backend Bind ¡Greetings! El 16/12/15 a las 09:44, L.P.H. van Belle escribió:> Devuan.. a thing im going to have a look into. > I do get why debian is swithching to systemd.. really much better control of the startup process, but yeah, lots harder to configure... > > > Besides that... > This is a samba using internal DNS? > > Can you also post the output of > systemctl list-dependencies samba-ad-dc > or > systemctl list-dependencies > > and post > systemctl show samba-ad-dc.service | egrep "After|ExecS" > > as already requested the content of smb.conf > > > > Greez, > > Louis > >> -----Oorspronkelijk bericht----- >> Van: gimili [mailto:gimili17 at gmail.com] >> Verzonden: dinsdag 15 december 2015 19:31 >> Aan: L.P.H. van Belle; samba at lists.samba.org >> Onderwerp: Re: [Samba] domain authentication issue after rebooting Debian >> Jessie - need to restart samba each time >> >> 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 > >
gimili
2015-Dec-18 13:16 UTC
[Samba] domain authentication issue after rebooting Debian Jessie - need to restart samba each time
On 12/15/2015 2:56 PM, Sébastien Le Ray wrote:> > > Le 15/12/2015 20:55, Sébastien Le Ray a écrit : >> >> >> Le 15/12/2015 20:21, Rowland penny a écrit : >>> On 15/12/15 18:31, gimili wrote: >>>> >>>> >>>> >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 >>>> [snip] >>>> 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 >>>> >>> >>> I wonder if systemd doesn't like the DNS update failing?? >> >> "Active: active (running)" so there's nothing it doesn't like >> >> Is this status right after boot or after restart? >> >> > >Yes this was after rebooting the computer but before restarting samba-ad-dc. -- gimili
Seemingly Similar Threads
- domain authentication issue after rebooting Debian Jessie - need to restart samba each time
- domain authentication issue after rebooting Debian Jessie - need to restart samba each time
- domain authentication issue after rebooting Debian Jessie - need to restart samba each time
- domain authentication issue after rebooting Debian Jessie - need to restart samba each time
- domain authentication issue after rebooting Debian Jessie - need to restart samba each time