Despite plentiful Linux & Windows experience, I've never yet managed to get a Linux box to work inside a Windows domain successfully.. So I am once again attempting this. :)
I've got a fairly virgin Ubuntu 7.0 install with the necessary Samba/Winbind installs. I'm following the guide at
http://ubuntuforums.org/showthread.php?t=280702 to get the Linux box into the AD. I've copy+pasted the suggested smb.conf and changed the workgroup, realm, wins server and password server parameters as applicable. The name of the realm is quite long (25 chars + .local) & is entered as upper case in the smb.conf. The hostname of the Linux box is linux2.<realm> - I've tried this as lower & upper case (I didn't expect any difference). Following the HOWTO, I can "net time set" but not "net ads join". Each time I try to join the domain I get the error:
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
The smb, nmb and winbind daemons are all running and the domain is correct. The linux box has FQDN entry to the Windows server & itself in /etc/hosts, the primary DNS server is the Windows server & the order being DNS, HOSTS. As mentioned, this isn't the first time I've tackled the problem but I am getting more frustrated with each passing attempt. :(
Start Free Trial