Samba4 error joining the domain: wrong CN=Sites DN

Jorge Salamero Sanz bencer at cauterized.net
Sat Sep 22 00:31:18 MDT 2012


Hi all,

I'm trying to join a Windows 2008 R2 domain (2003 compatibility level)
with Samba4 beta8 and I get this error:

Error joining to domain: ERROR(ldb): uncaught exception - LDAP error 32
LDAP_NO_SUCH_O
BJECT - CN=Sites,CN=Configuration,DC=domain,DC=tld <0000208D: NameErr:
DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
        'CN=Sites,CN=Configuration,DC=domain,DC=tld'
 > <>
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py",
line 160, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line
256, in run
     machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1079, in
join_DC
     ctx.do_join()
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 982, in
do_join
     ctx.join_add_objects()
   File "/usr/lib/python2.7/dist-packages/samba/join.py", line 506, in
join_add_objects
     ctx.samdb.add(rec)

my DCs for this domain, they are not directly inside
CN=Sites,CN=Configuration,DC=domain,DC=tld but
CN=My-Site,CN=Sites,CN=Configuration,DC=domain,DC=tld. I cannot find
neither this DSID-0310020A attribute.

Any idea on how to approach this?

Thanks for your answers!


More information about the samba-technical mailing list