[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


-----BEGIN PGP SIGNED MESSAGE-----
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI7gRjIR7qMdg1EfYRAhnQAJ4yciQha6kQxLlo4O2Teq6i04zpfACg4alY
PEVr8cAf72HUeePIQX7bMkg=
=0K2J
-----END PGP SIGNATURE-----


More information about the samba mailing list