From 6b7e436871ec7cac1d08c830efaab95d8bb3afa3 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 8 Jul 2010 14:51:49 +0200 Subject: s4:acl LDB module - password attributes - check also the "dBCSPwd" attribute It's also a possible password change/set attribute candidate. --- 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 39b8e9911f..6e38bc46b1 100644 --- a/source4/dsdb/samdb/ldb_modules/acl.c +++ b/source4/dsdb/samdb/ldb_modules/acl.c @@ -760,8 +760,8 @@ static int acl_check_password_rights(TALLOC_CTX *mem_ctx, unsigned int del_attr_cnt = 0, add_attr_cnt = 0, rep_attr_cnt = 0; struct ldb_message_element *el; struct ldb_message *msg; - const char *passwordAttrs[] = { "userPassword", "unicodePwd", - "clearTextPassword", NULL }, **l; + const char *passwordAttrs[] = { "userPassword", "clearTextPassword", + "unicodePwd", "dBCSPwd", NULL }, **l; TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); msg = ldb_msg_copy_shallow(tmp_ctx, req->op.mod.message); -- cgit