[Samba] Failed to set servicePrincipalNames error

Jason Haar Jason.Haar at trimble.co.nz
Wed Dec 6 22:05:19 GMT 2006

Rashid N. Achilov wrote:
> Probably, your hostname is not equal your AD full name (i.e. box.hostname.com 
> but AD named hostname.org). Today I'll put a big pile of debug messages to 
> trace problem in source (it is net_ads.c in utils) and try to reach 'natural' 
> solve...
Exactly right. My "netbios name =" value reflects a different hostname
than the actual server. I didn't realize there was any problem with that...

Anyway, once I changed the "netbios name" entry to "netbios aliases = ",
"net join" works first time.

I'd still say that was a bug in Samba - but the workaround will do for
now :-)



Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1

More information about the samba mailing list