LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Kerberos/Winbind/Samba membership lost on boot (http://www.linuxquestions.org/questions/linux-desktop-74/kerberos-winbind-samba-membership-lost-on-boot-874326/)

acksys 04-11-2011 09:41 AM

Kerberos/Winbind/Samba membership lost on boot
 
(winbind and samba-common version 2:3.2.5-4lenny14)

Hello, I am using Debian with Kerberos and winbind/samba to run a file server that gets its usernames and passwords from our primary Windows domain controller. Everything works well, with one exception--the system loses its domain membership when it is restarted. Every time I restart the machine, I can only log on as root.

Then I run

Code:

wbinfo -u
The users from the PDC are not found.

I run the following commands:

Code:

net ads join -U fritz
/etc/init.d/winbind/restart

After that, wbinfo -u returns the list of users correctly. I can then use my domain account to log on to the Debian machine, and my users can use their domain credentials to access the Samba shares, which is exactly what I want.

How can I change this so the domain is automatically joined when the Debian machine is rebooted? Thanks in advance.

-Fritz


All times are GMT -5. The time now is 07:10 AM.