From 845e7a609d23677539d9439b941e0dffb53f6bc9 Mon Sep 17 00:00:00 2001 From: Nadezhda Ivanova Date: Tue, 29 Jun 2010 11:46:22 +0300 Subject: Fixed incorrect use of cn instead of lDAPDisplayName --- source4/dsdb/samdb/ldb_modules/acl.c | 4 ++-- 1 file 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, -- cgit