[SOLVED!] Joining AD domain fails: "Failed to set servicePrincipalNames. [...] Type or value exists"

Jeremy Allison jra at samba.org
Sat Jun 23 00:57:48 GMT 2007

On Sat, Jun 23, 2007 at 02:21:26AM +0200, Kurt Pfeifle wrote:
> Oh, my!
> It's there, in plain sight: while I had meant to configure everything
> to use pdf*server*, in smb.conf a line "netbios name = pdf*maker*"
> had slipped in. What a stupid mistake!
> Removal of that line then did the magic. Now it's all cool again:
> -------------------------------------------------------------------
> root at pdfserver:~# net ads join -W infotecsys.de -S dc -U Administrator
>    Administrator's password:
>    Using short domain name -- INFOTECSYS
>    Joined 'PDFSERVER' to realm 'INFOTECSYS.DE'
> -------------------------------------------------------------------
> Sorry if I wasted everyone's time. (May Google now help other people
> to find *that* cause for the error message of "Failed to set
> servicePrincipalNames. [...] Type or value exists"  as well... People
> remember to never set a different/wrong "netbios name" in smb.conf
> when you want to become part of an ADS...)

Hmmmm. Could we have detected that before hand and reported the
error ?


More information about the samba-technical mailing list