Domains and Linux

xtknight

Elite Member
Oct 15, 2004
12,974
0
71
My friend has recently installed Debian Linux, and he wants to join the Windows domain on his network. A few days ago he had Ubuntu and we managed to get it to join, with a lot of trial and error. We successfully joined the domain with 'net join rpc', though trying to obtain a Kerberos ticket was a failure and 'net join ads' did not work (on both Ubuntu and Debian). In Ubuntu, wbinfo -u failed, so we went through this guy (end of page)'s instructions and that fixed it. I can't remember but I think we may have installed some Kerberos 4 package as well. Whatever the case, even though 'kinit' and 'net ads' failed, we could see users on the domain, and browsing the domain worked after restarting winbind and samba. Not the case with Debian.

(The guide we were using for both OSes was this one: http://www.ubuntuforums.org/showthread.php?t=5409)

Right now, on Debian, wbinfo -g works, but wbinfo -u does not, so we can only see the 'groups' on his domain. In Ubuntu we were never asked for a primary domain controller or the password of it. We just logged in, and it just worked, somehow. As you can tell, I'm not an expert on domains, but I do know no administration password was typed in, because he only gave me his login and password for his PC. Unless the password happened to be the same, but I had never logged in as "Administrator" either.

What's the difference between an RPC and ADS domain? What's PDC? And how do we get it so he can browse his domain? BTW, Samba mounting one share on the domain works, and under user mode typing smbtree reveals all directories on the domain. He just can't browse it under nautilus! (no permissions) and wbinfo -u fails with "Error looking up domain users". Any ideas?