summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-26 16:48:09 +0100
committerStefan Metzmacher <metze@samba.org>2010-02-26 23:26:32 +0100
commit4bad696f9ef3bdc3a1a9dc6b98a58d7071b994d7 (patch)
tree0bb01cf2a93717b6bcb41a8ec25dc959c8287b75 /source4/dsdb
parent2caa2a045dd4f56cffb3a5af82a1f992198e4412 (diff)
downloadsamba-4bad696f9ef3bdc3a1a9dc6b98a58d7071b994d7.tar.gz
samba-4bad696f9ef3bdc3a1a9dc6b98a58d7071b994d7.tar.bz2
samba-4bad696f9ef3bdc3a1a9dc6b98a58d7071b994d7.zip
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
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/schema/schema_syntax.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_syntax.c b/source4/dsdb/schema/schema_syntax.c
index 877200bb08..bdd22f834b 100644
--- a/source4/dsdb/schema/schema_syntax.c
+++ b/source4/dsdb/schema/schema_syntax.c
@@ -1742,7 +1742,6 @@ static WERROR dsdb_syntax_DN_validate_one_val(struct ldb_context *ldb,
* one.
*/
ldb_dn_extended_filter(dn, extended_list);
- ldb_dn_remove_extended_components(dn2);
dn_str = ldb_dn_get_extended_linearized(tmp_ctx, dn, 0);
if (dn_str == NULL) {