[Samba] Failure to join existing domain Windows 2003 Server domain

Matthieu Patou mat at samba.org
Sun May 19 08:51:13 MDT 2013

On 05/16/2013 02:10 PM, Tony Nelson wrote:
> I compiled samba-4.0.5 from source on Ubuntu 12.04 and was following the instructions here:
> http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
> The exact command I executed was:
> root at va-dc:/usr/local/samba# bin/samba-tool domain join win.starpoint.com<http://win.starpoint.com> DC -Uadministrator --realm=win.starpoint.com<http://win.starpoint.com> --dns-backend=BIND9_DLZ --workgroup win --server va-bdc.win.starpoint.com<http://va-bdc.win.starpoint.com>
> I added the server parameter to force the replication to use a DC local to me.
> The join seemed to be going along fine until I hit this error:
> Partition[CN=Configuration,DC=WIN,DC=STARPOINT,DC=COM] objects[2321] linked_values[0]
> Partition[CN=Configuration,DC=WIN,DC=STARPOINT,DC=COM] objects[2497] linked_values[53]
> Failed to apply records: Failed to find GUID for (null): Invalid DN syntax
> Failed to commit objects: WERR_GENERAL_FAILURE
> Join failed - cleaning up
> checking sAMAccountName
> Deleted CN=VA-DC,OU=Domain Controllers,DC=WIN,DC=STARPOINT,DC=COM
> Deleted CN=NTDS Settings,CN=VA-DC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=WIN,DC=STARPOINT,DC=COM
> Deleted CN=VA-DC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=WIN,DC=STARPOINT,DC=COM
> ERROR(<type 'exceptions.TypeError'>): uncaught exception - Failed to process chunk: NT_STATUS_UNSUCCESSFUL
>    File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
>      return self.run(*args, **kwargs)
>    File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 552, in run
>      machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
>    File "/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line 1104, in join_DC
>      ctx.do_join()
>    File "/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line 1009, in do_join
>      ctx.join_replicate()
>    File "/usr/local/samba/lib/python2.7/site-packages/samba/join.py", line 734, in join_replicate
>      replica_flags=ctx.replica_flags)
>    File "/usr/local/samba/lib/python2.7/site-packages/samba/drs_utils.py", line 252, in replicate
>      schema=schema, req_level=req_level, req=req)
> I reran the command a few times specifying slightly higher debug levels (1,2,3) but didn't get any more information just before the exception but I did see warnings like this:
> Analyze and apply schema objects
> ../source4/dsdb/schema/schema_syntax.c:1021: Unknown governsID 0x00030006
> Warning: Failed to convert schema object CN=ms-Exch-MHS-Link-Monitoring-Config,CN=Schema,CN=Configuration,DC=WIN,DC=STARPOINT,DC=COM into ldb msg
> ../source4/dsdb/schema/schema_syntax.c:1021: Unknown governsID 0x00030006
> Warning: Failed to convert schema object CN=ms-Exch-MHS-Server-Monitoring-Config,CN=Schema,CN=Configuration,DC=WIN,DC=STARPOINT,DC=COM into ldb msg
> ../source4/dsdb/schema/schema_syntax.c:1021: Unknown governsID 0x00030041
> Warning: Failed to convert schema object CN=ms-Exch-Protocol-Cfg-Shared-Site,CN=Schema,CN=Configuration,DC=WIN,DC=STARPOINT,DC=COM into ldb msg
> ../source4/dsdb/schema/schema_syntax.c:1021: Unknown governsID 0x00030002
> Warning: Failed to convert schema object CN=ms-Exch-DX-Requestor,CN=Schema,CN=Configuration,DC=WIN,DC=STARPOINT,DC=COM into ldb msg
This is a known bug (https://bugzilla.samba.org/show_bug.cgi?id=8680) 
and we have a fix for this currently under review.

It should be fixed soon.

Matthieu Patou
Samba Team

More information about the samba mailing list