Re: Samba/Winbind join domain requires password at every reboot?
- From: Tobias Skytte <ts@xxxxxxxxx>
- Date: Thu, 09 Oct 2008 10:46:03 +0200
Robert Harris skrev:
Tobias Skytte wrote:goarilla@work skrev:Tobias Skytte wrote:Hi,Hi,maybe you can send it a HUP signal instead
I have set up samba to join a windows domain (and everything works
great) 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
because when smbd receives a HUP signal it rereads smb.conf and
changes its config according to them, maybe winbindd does the same
i'm not sure about this, it's just a suggestion
Thanks, but its not so much a problem with restarting the daemon or
re-reding the conf, its more of a problem that it has to ask for the
admin password everytime it reboots (because it has to re-join the
domain which shouldn't be necessary), and I don't want to leave that in
some script. So the real question is, why is the domain joining not
persistent?
Regards,
Tobias Skytte
If you don't have to authenticate yourself to the domain when you
reboot, then how can the domain be sure who you are?
You have to store a password somewhere!
Robert
Well, in Windows once you join the domain you don't have to enter the admin password at every reboot, and if you change the admin password in the PDC then all the machines don't have to be re-joined, so once they are joined they are joined forever. Why should this behaviour be different under linux?
The main prob, is 1) I have to put the PDC admin password in plain text in a script, and 2) if the admin password changes then the script has to be changed and 3) why should it be different under linux than under windows?
Regards,
Tobias
.
- Follow-Ups:
- Re: Samba/Winbind join domain requires password at every reboot?
- From: Allen Kistler
- Re: Samba/Winbind join domain requires password at every reboot?
- References:
- Samba/Winbind join domain requires password at every reboot?
- From: Tobias Skytte
- Re: Samba/Winbind join domain requires password at every reboot?
- From: goarilla@work
- Re: Samba/Winbind join domain requires password at every reboot?
- From: Tobias Skytte
- Re: Samba/Winbind join domain requires password at every reboot?
- From: Robert Harris
- Samba/Winbind join domain requires password at every reboot?
- Prev by Date: bad sector/blocks and files based on it
- Next by Date: Re: Samba/Winbind join domain requires password at every reboot?
- Previous by thread: Re: Samba/Winbind join domain requires password at every reboot?
- Next by thread: Re: Samba/Winbind join domain requires password at every reboot?
- Index(es):
Relevant Pages
|
Loading