[Samba] WERR_GENERAL_FAILURE joining Samba4 to Win 2k3 domain with Exchange 2007

Jay Carter jaydeancarter at yahoo.com
Mon May 13 17:45:39 MDT 2013

    I am having a problem joining a Debian/Samba4 machine as a DC to a Windows 2003 level AD domain. The domain has Exchange Server 2007 schema extensions wiht a single Exchange Server which is also the domain controller.
 I ran the domian join with debug level 10 set, here is what I see:
     a:<GUID=redacted>;CN=owa (Default Web Site),
 CN=HTTP,CN=Protocols,CN=servername,CN=Servers,CN=Exchange Administrative Group (
 FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Microsoft 
msExchOWATranscodingMimeTypes: S:52:                                          
          a:<GUID=redacted>;CN=owa (Default Web Si
 te),CN=HTTP,CN=Protocols,CN=servername,CN=Servers,CN=Exchange Administrative Gro
 up (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Micros
 oft Exchange,CN=Services,CN=Configuration,DC=jaydcarter,DC=com,DC=local
msExchOWATranscodingMimeTypes: S:58:                                          
                a:<GUID=redacted>;CN=owa (Default 
 Web Site),CN=HTTP,CN=Protocols,CN=servername,CN=Servers,CN=Exchange Administrati
 ve Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=
 Microsoft Exchange,CN=Services,CN=Configuration,DC=jaydcarter,DC=com,DC=local
msExchOWATranscodingFlags: 1
msExchVersion: 4535486012416
../source4/dsdb/samdb/ldb_modules/linked_attributes.c:164: Failed to find GUID for dn (null)
replmd_op_callback failure. Error is: Invalid DN syntax
Failed to apply records: Failed to find GUID for (null): Invalid DN syntax
Failed to commit objects: WERR_GENERAL_FAILURE
Join failed - cleaning up
If I am reading the log correctly, msExchVersion is the last directory element that was successfully loaded; what I need to know is the next element which apparently fails - there are about 15 elements remaining inside the 'owa (Default Web Site)' cn  tha have not been imported so I can't tell exactly which one is failing. 
I have found several references to the WERR_GENERAL_FAILURE occurring with Exchange Server in the schema, but nothing that points to a solution.
Samba is version 4.0.5, running on Linux core 3.2.0-4-amd64 #1 SMP Debian 3.2.35-2 x86_64 GNU/Linux
Any ideas or suggestions appreciated!
Jay D. Carter

More information about the samba mailing list