summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-08 14:51:49 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-08 21:52:15 +0200
commit6b7e436871ec7cac1d08c830efaab95d8bb3afa3 (patch)
tree5bbded09a788f32a922c1f9d8fd146b9eee60a2f /source4
parent921308f1e830e0443bb49b6d4eb19ae95357a16e (diff)
downloadsamba-6b7e436871ec7cac1d08c830efaab95d8bb3afa3.tar.gz
samba-6b7e436871ec7cac1d08c830efaab95d8bb3afa3.tar.bz2
samba-6b7e436871ec7cac1d08c830efaab95d8bb3afa3.zip
s4:acl LDB module - password attributes - check also the "dBCSPwd" attribute
It's also a possible password change/set attribute candidate.
Diffstat (limited to 'source4')
-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 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);