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

Edouard Guigné eguigne at pasteur-cayenne.fr
Tue Apr 28 14:35:55 UTC 2020


Hello dear Samba users, 

I recently faced an issue with samba (4.10.4) and winbind. 
The winbind service was stopped, so no user can acces to my samba share. 
I restart the winbind service, and all users can access to the share as usually... 
But I would like to understand why this issue occured. 

My samba server is a centos 7 linux, configured as domain member to a microsoft AD (windows server 2012 R2). 
All services (samba, winbind) are in automatic, started with linux start, and should always remained started. 

In winbindd.log, there are many entries like : 
[2020/04/27 08:20:14.167335, 1] ../source3/lib/util.c:1700(name_to_fqdn) 
getaddrinfo: Échec temporaire dans la résolution du nom 

On my Centos 7 samba server, the DNS resolution works only for fulled qualified name : 
ping workstation1 
ping: workstation1 : Échec temporaire dans la résolution du nom 
but 
ping workstation1.mydomain.fr 
64 bytes from workstation1!.mydomain.fr (10.9.x.x): icmp_seq=1 ttl=127 time=1.58 ms 
64 bytes from workstation1!.mydomain.fr (10.9.x.x): icmp_seq=2 ttl=127 time=1.33 ms 
64 bytes from workstation1!.mydomain.fr (10.9.x.x): icmp_seq=3 ttl=127 time=1.04 ms 

Can it be the explanation why winbind has stopped ? 

Do I have to add "domain=mydomain.fr" in /etc/sysconfig/network-scripts/ifcfg-eth0 of my centos 7 server network adapter ? 
May it help Winbind for DNS resolving ? 

Best Regards, 
Ed 


More information about the samba mailing list