s4:dsdb/schema: fix validation of DNs
authorStefan Metzmacher <metze@samba.org>
Fri, 26 Feb 2010 15:48:09 +0000 (16:48 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 26 Feb 2010 22:26:32 +0000 (23:26 +0100)
commit4bad696f9ef3bdc3a1a9dc6b98a58d7071b994d7
tree0bb01cf2a93717b6bcb41a8ec25dc959c8287b75
parent2caa2a045dd4f56cffb3a5af82a1f992198e4412
s4:dsdb/schema: fix validation of DNs

ldb_dn_extended_filter() removes all but the listed components,
I didn't noticed that when writting the code.
Doing a ldb_dn_remove_extended_components(dn2) is wrong.

This was hidden by some bugs in the ldb_dn code.

metze
source4/dsdb/schema/schema_syntax.c