4.0.13 can join, Only some problems after joining(it won't replicate). I
suggest you test some lower version to get joined first.
On Sun, Dec 1, 2013 at 8:37 PM, Sarah Lee <sarah.leecb at gmail.com>
wrote:
> Hai all,
>
> For information, we have Microsoft Active Directory windows 2008r2. We want
> replicate this exist dc to samba4 thru WIKI Samba4 joining a domain as
> a
DC<http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC>
> .
> My samba version is Version 4.2.0pre1-GIT-bdb818d
>
> we get this error:
>
> [root at sambadc samba]# bin/samba-tool domain join SERINEGERI.GOV DC
> -Uadministrator -W SERINEGERI --realm=SERINEGERI.GOV
> Finding a writeable DC for domain 'SERINEGERI.GOV'
> Found DC PANGLIMA2.serinegeri.gov
> Password for [SERINEGERI\administrator]:
> workgroup is SERINEGERI
> realm is serinegeri.gov
> checking sAMAccountName
> Adding CN=SAMBADC,OU=Domain Controllers,DC=serinegeri,DC=gov
> Adding
>
>
CN=SAMBADC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=serinegeri,DC=gov
> Join failed - cleaning up
> checking sAMAccountName
> Deleted CN=SAMBADC,OU=Domain Controllers,DC=serinegeri,DC=gov
> ERROR(ldb): uncaught exception - LDAP error 32 LDAP_NO_SUCH_OBJECT -
> CN=Sites,CN=Configuration,DC=serinegeri,DC=gov <0000208D: NameErr:
> DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:
> 'CN=Sites,CN=Configuration,DC=serinegeri,DC=gov'
> > <>
> File
>
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py",
> line 175, in _run
> return self.run(*args, **kwargs)
> File
>
"/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/domain.py",
> line 609, in run
> machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
> File
"/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", line
> 1172, in join_DC
> ctx.do_join()
> File
"/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", line
> 1075, in do_join
> ctx.join_add_objects()
> File
"/usr/local/samba/lib64/python2.6/site-packages/samba/join.py", line
> 540, in join_add_objects
> ctx.samdb.add(rec)
>
> we stuck with this error.
>
> anybody please help.
>
> Sorry for my bad English.
>
> regards,
>
> Sarah Lee CB
> Senior System Analyst
> Wazolution.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>