[Samba] Service Winbind stopped, what could be the reason ?

Rowland penny rpenny at samba.org
Thu Apr 30 14:30:37 UTC 2020


On 30/04/2020 15:11, Edouard Guigné wrote:
>
> Hello Rowland,
>
> I had a look on message log, when the winbind stopped.
> I found that an system update occured during the night, and then 
> Winbind did not restart properly.
>
> ...
> /Apr 28 04:33:08 [localhost] yum[1232]: Mis à jour : 
> samba-winbind-clients.x86_64 4.10.4-10.el7//
> //Apr 28 04:33:08 [localhost] yum[1232]: Mis à jour : 
> samba-winbind-krb5-locator.x86_64 4.10.4-10.el7//
> //Apr 28 04:33:09 [localhost] yum[1232]: Mis à jour : samba.x86_64 
> 4.10.4-10.el7/
>
> ...
>
> /Apr 28 08:07:53 [localhost] systemd-logind: New session 79900 of user 
> root.//
> //Apr 28 08:08:26 [localhost] systemd: Starting Samba SMB Daemon...//
> //Apr 28 08:08:26 [localhost] smbd[4611]: [2020/04/28 
> 08:08:26.248346,  0] ../../lib/util/become_daemon.c:136(daemon_ready)//
> //Apr 28 08:08:26 [localhost] smbd[4611]:  daemon_ready: daemon 'smbd' 
> finished starting up and ready to serve connections//
> //Apr 28 08:08:26 [localhost] systemd: Started Samba SMB Daemon.//
> /*/Apr 28 08:08:51 [localhost] smbd[4625]: [2020/04/28 
> 08:08:51.228010,  0] 
> ../../source3/auth/auth_winbind.c:122(check_winbind_security)/**/
> /**/Apr 28 08:08:51 [localhost] smbd[4625]: check_winbind_security: 
> winbindd not running - but required as domain member: 
> NT_STATUS_NO_LOGON_SERVERS/**/
> /**/Apr 28 08:08:51 [localhost] smbd[4626]: [2020/04/28 
> 08:08:51.251448,  0] 
> ../../source3/auth/auth_winbind.c:122(check_winbind_security)/**/
> /**/Apr 28 08:08:51 [localhost] smbd[4626]: check_winbind_security: 
> winbindd not running - but required as domain member: 
> NT_STATUS_NO_LOGON_SERVERS/*
>
> ...
>
> Can it sometimes happen that winbind do not restart properly after 
> automatic system update ?
>
It looks like you have found your problem, but I am the last person to 
provide an answer, I am one of the luddites who refuses to use systemd ;-)

It looks like windbind needs to start before smbd, but how you would do 
this, I have no idea.

Rowland






More information about the samba mailing list