git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2caa2a0
)
s4:dsdb/schema: fix validation of DNs
author
Stefan Metzmacher
<metze@samba.org>
Fri, 26 Feb 2010 15:48:09 +0000
(16:48 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 26 Feb 2010 22:26:32 +0000
(23:26 +0100)
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
patch
|
blob
|
history
diff --git
a/source4/dsdb/schema/schema_syntax.c
b/source4/dsdb/schema/schema_syntax.c
index 877200bb087d219e937eded41ee3cb7b21ba5270..bdd22f834b8ea9ec19fceea436cb523941234337 100644
(file)
--- 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) {