Tobias Skytte
2008-Oct-09 06:57 UTC
[Samba] Samba/Winbind join domain requires password at every reboot?
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..? PS: I have googled this alot and am not able to find a reason for this.. so any hints will be helpful. Thanks. Tobias Skytte
Gerald (Jerry) Carter
2008-Oct-09 13:18 UTC
[Samba] Samba/Winbind join domain requires password at every reboot?
-----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-----