[Samba] Samba Join as DC failed

Andrew Bartlett abartlet at samba.org
Fri Feb 28 02:10:13 MST 2014

On Fri, 2014-02-28 at 09:39 +0100, Daniel von Obernitz wrote:
> Hi Andrew,
> I try to join a samba 4.1.4 (Debian Sernet package) as a DC into an 
> existing Windows 2008 RC2 AD as well and get a similar error message:

> Do you have any idea, what is causing this?
> Thanks.
> Daniel

The attached patch should fix it.  I don't understand how an object
becomes isRecycled but not isDeleted however, or how that doesn't cause
us to just skip out of this function.

Anyway, with the usual cautions about development patches, you could
give this a try if this is a test network (or you can reproduce against
such a test network).  It is against GIT master.

Can you also get me a copy of the failing object searching directly
against your Windows 2008 R2 server?  That will help me understand if
the isDeleted/isRecycled is a local thing caused during the join, or if
that is just how it is on Windows.


Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dsdb-Do-not-reuse-search-message-for-modify-in-replm.patch
Type: text/x-patch
Size: 6510 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20140228/f8188c07/attachment.bin>

More information about the samba mailing list