Re: Samba/Winbind join domain requires password at every reboot?



Tobias Skytte wrote:
goarilla@work skrev:
Tobias Skytte wrote:
Hi,

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

maybe you can send it a HUP signal instead
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

Hi,
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
.



Relevant Pages

  • Re: Samba/Winbind join domain requires password at every reboot?
    ... I have set up samba to join a windows domain (and everything works ... So the question is why is this necessary at every reboot? ... want to leave the admin password in some script. ...
    (comp.os.linux.networking)
  • Re: Win2K freezes on boot
    ... > bought these and I tested the admin password on the other ... but it will be a pain to install all ... Now reboot into the Command Console and rename ... PCs with only one admin account. ...
    (microsoft.public.win2000.general)
  • Win2K freezes on boot
    ... it frooze on the reboot. ... I set up two computers the same day when we ... bought these and I tested the admin password on the other ... but it will be a pain to install all ...
    (microsoft.public.win2000.general)
  • Re: Samba/Winbind join domain requires password at every reboot?
    ... Tobias Skytte wrote: ... I have set up samba to join a windows domain but it seems to require joining to the domain everytime it reboots with: ... and then it needs the administrator password, and then a restart of the winbind daemon.. ... Windows machines don't need to do this at every reboot so why winbind? ...
    (comp.os.linux.networking)
  • windows 2000 pro error
    ... My win2k professional will not restart upon reboot it gives me the following ... winternals erd commander and mapped the system as a network drive to another ... system then scanned the drive with a virus scanner and no virus's just some ... changes the admin password in case it had been changed and that was causing ...
    (microsoft.public.win2000.setup)

Loading