[cifs-protocol] Errors when doing a DsAddEntry

Josh Curry Josh.Curry at microsoft.com
Wed Aug 31 07:47:13 MDT 2011

Hi Andrew, thank you for your question. A member of the protocol documentation team will be in touch with you soon.

Josh Curry | Escalation Engineer | US-CSS Developer Support Core (DSC) Protocol Team
P +1 469 775 7215
One Microsoft Way, 98052, Redmond, WA, USA http://support.microsoft.com

-----Original Message-----
From: Andrew Bartlett [mailto:abartlet at samba.org] 
Sent: Tuesday, August 30, 2011 11:29 PM
To: Interoperability Documentation Help
Cc: cifs-protocol at cifs.org
Subject: Errors when doing a DsAddEntry

We have been looking at DRSUAPI/DsAddEntry, and have a few questions.

We are trying to implement subdomain support in Samba4 before the plugfest.

We have been able to generate error cases that do not seem to be 'possible' in the docs.  Can you please clarify exactly what errors this function should be able to return, and document how to avoid these:

in join-s1.txt we have an error that is only listed in the docs when removing a DC from the domain.  

extended_err             : WERR_DS_ROLE_NOT_VERIFIED

This is currently blocking us.  Our only theory is that we must perform a replication cycle before we do this call. 

in join-s1-2.txt we have another error, that we worked around by creating the partitions object before creating the server object.
However, as we need to match the server-side behaviour, we need to know the undocumented circumstances that cause this error.

extended_err             : WERR_DS_NO_CROSSREF_FOR_NC

Finally, is there any documentation of the high-level procedure for creating a subdomain?


Andrew Bartlett
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the cifs-protocol mailing list