[Samba] Failed to set servicePrincipalNames error
Rashid N. Achilov
achilov-rn at askd.ru
Tue Dec 19 03:44:19 GMT 2006
On Wednesday 06 December 2006 09:53, Jason Haar wrote:
> I am trying to add a (CentOS4.4) Samba-3.0.23d server to a AD Win2K3
> domain and the following error occurs
>
> # /usr/kerberos/bin/kinit administrator at SUBDOM.DOMAIN
> # net join
> Using short domain name -- SUBDOM
> Failed to set servicePrincipalNames. Please ensure that
> the DNS domain of this server matches the AD domain,
> Or rejoin with using Domain Admin credentials.
> Disabled account for 'SAMBA-4BCA' in realm 'SUBDOM.DOMAIN'
> ADS join did not work, falling back to RPC...
> Unable to find a suitable server
> Unable to find a suitable server
Some days ago I had this bug. And I had traced, how to 'net ads' works. This
error will throw, when 'net' try to set principals HOST/hostname and
HOST/hostname.domain.tld. First, it take macine name and create
HOST/hostname. Second it call my_fqdn() to convert machine name to fqdn, BUT
(!!) it uses only /etc/hosts here! No nsswitch, no gethostyname(). So, check
your /etc/hosts - probably here is wrong record.
--
With Best Regards.
Rashid N. Achilov (RNA1-RIPE), Web: http://www.askd.ru/~shelton
OOO "ACK" telecommunications administrator, e-mail: achilov-rn [at] askd.ru
PGP: 83 CD E2 A7 37 4A D5 81 D6 D6 52 BF C9 2F 85 AF 97 BE CB 0A
More information about the samba
mailing list