s4:dsdb Add objectClass and RDN constraints to objectClass module
commitf86beaaad96ac2dd7cf6a3a9d57f42c57c2440c2
authorAndrew Bartlett <abartlet@samba.org>
Thu, 24 Sep 2009 04:16:42 +0000 (23 21:16 -0700)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sat, 3 Oct 2009 10:37:49 +0000 (3 12:37 +0200)
tree4e0bbcb40e22f9fb8c97c70e9749448da1c0da93
parentdac0346906b7494f203e1e56b8f2e18c93fc2912
s4:dsdb Add objectClass and RDN constraints to objectClass module

These additional constraints are applied, found by the Microsoft testsuite.

 - When the parent is not present, we now return 'NO_SUCH_OBJECT'.
 - Restrict the choice of RDN to the correct one per the schema
 - Honour the allowedChildClasses attribute from the parent's objectClass.

Andrew Bartlett
source4/dsdb/samdb/ldb_modules/objectclass.c