r25942: Make various ldb modules handle an LDB backend that enforces validity
authorAndrew Bartlett <abartlet@samba.org>
Tue, 13 Nov 2007 21:54:52 +0000 (22:54 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:45:11 +0000 (05:45 +0100)
commit5d4f507a65144d8fe30b3fcd0b9cbcdc088146c6
tree6a134f6519fd958bc3dde6cf4021ca1147521202
parent7f18e15e3f48d92a4f8f2b929a6337761b26fc67
r25942: Make various ldb modules handle an LDB backend that enforces validity

of Base DNs in searches (returning an error of LDB_ERR_NO_SUCH_ENTRY).

We need to handle this if ldb_tdb is to behave correctly compared with
LDAP, as well as if we are using an LDAP backend.

In doing so, I realised that subtree_rename and subtree_delete
(prevention) need rather different wait loops, so it seemed easier to
split it out into it's own module.

I've fixed the licence on both of these modules to be GPLv3.

Andrew Bartlett
(This used to be commit d3894c90f31fb45e038ab478cd9d7d34962d069b)
source4/dsdb/samdb/ldb_modules/config.mk
source4/dsdb/samdb/ldb_modules/linked_attributes.c
source4/dsdb/samdb/ldb_modules/objectclass.c
source4/dsdb/samdb/ldb_modules/pdc_fsmo.c
source4/dsdb/samdb/ldb_modules/schema_fsmo.c
source4/dsdb/samdb/ldb_modules/subtree_delete.c [new file with mode: 0644]
source4/dsdb/samdb/ldb_modules/subtree_rename.c