[Samba] Winbind Craziness

Rowland Penny rpenny at samba.org
Sat Jul 28 08:28:36 UTC 2018

On Fri, 27 Jul 2018 21:25:04 +0000 (UTC)
ray klassen via samba <samba at lists.samba.org> wrote:

>  so I had some time to follow this bunny trailand found that even
> though all the other servers had no problems this one continued
> to.Every so often a new computer couldn't connect and then it would
> be all better after a net leave/net join. Net join would not work
> without -S <MyDC> in the command lineWhat I found out was that most
> net rpc commands such as net rpc testjoin would also fail without -S
> <MyDC> in the command linewhereas they would work find for any other
> box. I also noticed that a tdbtool dump of secrets.tdb was pretty
> nearly empty whereas other servers had lots of info.The difference
> was in the smb.conf line "name resolve order" 
> earlier I had taken the advice (the more fool me, I guess) of the man
> page with recommends 
> "name resolve order = wins bcast" in a AD environment.
> when I changed it back to 
> "name resolve order = lmhosts wins host bcast"

I think you should look at your dns ;-)

I doubt whether you have a lmhosts file on the Samba server, so if you
remove that, the line becomes 'wins host bcast' and the only
difference between that and what you had, is 'host'.


More information about the samba mailing list