summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorNadezhda Ivanova <nivanova@samba.org>2010-06-29 11:46:22 +0300
committerNadezhda Ivanova <nivanova@samba.org>2010-06-29 11:46:22 +0300
commit845e7a609d23677539d9439b941e0dffb53f6bc9 (patch)
tree4d5fa4b777e78452ac987977ccaba62b5fc6f5ac /source4/dsdb/samdb
parentcc7c572b3d87d2bd16cd7ec939a2d8a81bf36ef9 (diff)
downloadsamba-845e7a609d23677539d9439b941e0dffb53f6bc9.tar.gz
samba-845e7a609d23677539d9439b941e0dffb53f6bc9.tar.bz2
samba-845e7a609d23677539d9439b941e0dffb53f6bc9.zip
Fixed incorrect use of cn instead of lDAPDisplayName
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/acl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c
index bd788d43d6..e823b1eada 100644
--- a/source4/dsdb/samdb/ldb_modules/acl.c
+++ b/source4/dsdb/samdb/ldb_modules/acl.c
@@ -724,7 +724,7 @@ static int acl_check_self_membership(struct ldb_module *module,
if (ret != LDB_SUCCESS) {
return ret;
}
- member_el = ldb_msg_find_element(req->op.mod.message, "Member");
+ member_el = ldb_msg_find_element(req->op.mod.message, "member");
if (!member_el) {
return LDB_ERR_OPERATIONS_ERROR;
}
@@ -844,7 +844,7 @@ static int acl_modify(struct ldb_module *module, struct ldb_request *req)
if (ldb_attr_cmp("nTSecurityDescriptor", req->op.mod.message->elements[i].name) == 0) {
modify_sd = true;
}
- else if (ldb_attr_cmp("Member", req->op.mod.message->elements[i].name) == 0) {
+ else if (ldb_attr_cmp("member", req->op.mod.message->elements[i].name) == 0) {
ret = acl_check_self_membership(module,
req,
sd,