[Samba] Samba4 AD not very stable

Rowland Penny rpenny at samba.org
Mon Dec 5 10:05:39 UTC 2016


On Mon, 5 Dec 2016 10:35:58 +0100
"Dr.Peer-Joachim Koch via samba" <samba at lists.samba.org> wrote:

> Hi,
> 
> we switched from SAMBA3+Openldap to SAMBA4 four weeks ago.
> 
> Most servers are working. However we noticed some strange behavior:
> 
> Under some circumstances the authentication does not work anymore,
> but all
> 
> daemons etc. are up and running. Also locally on the DC everything
> seems to be fine.
> 
> But NO service will authenticated successfully against the domain.
> 
> Stopping the server for 1-2min and restarting the service solves the 
> problem in
> 
> most cases. Sometimes a reboot is the final "solution".
> 
> We see nothing helpful in the logfile. Only one time we saw from the 
> winbindd
> 
> a messages ("could not open file"), so we increased the open file
> limits (debian default 1024 4096).
> 
> 
> So how can we check the function of server, when the problem appears 
> again, to
> 
> get a glue what is not working correctly ... ?
> 
> 
> What is the different, between stopping a service and restarting it,
> or restarting the whole server ?
> 
> 
> Which loglevel might be helpful and which kind of messages are
> important ?
> 
> 
>        samba-tool drs showrepl
>   or
>        /etc/init.d/sernet-samba-smbd status
> 
> are always ok.
> 
> We are using DEBIAN JESSIE  on  2 hosts. One physical, one a VM.
> Both are running the SERNET packages 4.4.7 for Debian.
> 
> Any help and/or comment is warmly welcome!
> 

How are you running Samba, I know you switched from Samba3/openldap,
but how did you switch ?

Posting your smb.conf files will help

Rowland



More information about the samba mailing list