Advertisement

01.21.2008 at 02:20AM PST, ID: 23097825
[x]
Attachment Details

Join Samba to AD gets "Failed to set servicePrincipalNames"

Asked by Barthax in Samba File Server

Tags: Samba, Samba, unsure

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
 
 
[+][-]01.21.2008 at 03:56AM PST, ID: 20705268

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Samba File Server
Tags: Samba, Samba, unsure
Sign Up Now!
Solution Provided By: PeturIngiEgilsson
Participating Experts: 4
Solution Grade: B
 
 
[+][-]01.21.2008 at 07:32AM PST, ID: 20706700

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.21.2008 at 09:44AM PST, ID: 20707888

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628