[Samba] Samba/Winbind join domain requires password at every reboot?

Gerald (Jerry) Carter jerry at samba.org
Thu Oct 9 13:17:23 GMT 2008

Hash: SHA1

Tobias Skytte wrote:
> Hi,
> I have set up samba to join a windows domain (and everything works
> great, domain users can authenticate on the linux box, it even creates
> their home dirs and so on) but it seems to require joining to the domain
> everytime it reboots with: 
> #net join -w mydomain -S myPDC -U administrator 
> and then it needs the administrator password, and then a restart of the
> winbind daemon.. 
> So the question is why is this necessary at every reboot? I don't want
> to leave the admin password in some script. Windows machines don't need
> to do this at every reboot so why winbind? How can I get it to be joined
> permanently..? 

The join should be persistent across reboots.  Are some files
being deleted automatically ?  What platform is this and
how was Samba installed?  Check your winbindd logs after the
reboot and see what the reason for the failure is.  Perhaps
Winbind is starting before your network is up and needs time to
settle.  if so, try rearranging the startup order.

cheers, jerry
- --
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba mailing list