git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9eec4bc
)
Fix normalise module: Skip non-DN attributes
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 10 Dec 2008 03:22:23 +0000
(14:22 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 10 Dec 2008 03:22:23 +0000
(14:22 +1100)
Due to a bug/typo, we were instead skipping all DN attributes, and
blanking the rest.
Andrew Bartlett
Conflicts:
source4/dsdb/samdb/ldb_modules/normalise.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/normalise.c
b/source4/dsdb/samdb/ldb_modules/normalise.c
index 796edec98d00811ba9b726cd72bafac920600349..3d1986c41403639f78619fcd9543e1714ce4eea8 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/normalise.c
+++ b/
source4/dsdb/samdb/ldb_modules/normalise.c
@@
-114,7
+114,7
@@
static int normalize_search_callback(struct ldb_request *req, struct ldb_reply *
continue;
}
/* Look to see if this attributeSyntax is a DN */
- if (strcmp(attribute->attributeSyntax_oid, "2.5.5.1")
=
= 0) {
+ if (strcmp(attribute->attributeSyntax_oid, "2.5.5.1")
!
= 0) {
continue;
}
for (j = 0; j < msg->elements[i].num_values; j++) {