git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
39e468f
)
s4:password_hash: really catch the clearTextPasswordAttr case...
author
Stefan Metzmacher
<metze@samba.org>
Fri, 5 Dec 2008 12:29:58 +0000
(13:29 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 5 Dec 2008 13:16:47 +0000
(14:16 +0100)
This fixes the creation of the user object for incoming trusts
in dcesrv_lsa_CreateTrustedDomain_base().
And now w2k3 trust samba4 just fine:-)
metze
source4/dsdb/samdb/ldb_modules/password_hash.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/password_hash.c
b/source4/dsdb/samdb/ldb_modules/password_hash.c
index cef1bf79f74b58f9345f89653646f93110978f02..1707baba585bbb0269aa1a6575f5f77715101466 100644
(file)
--- a/
source4/dsdb/samdb/ldb_modules/password_hash.c
+++ b/
source4/dsdb/samdb/ldb_modules/password_hash.c
@@
-1641,7
+1641,7
@@
static int password_hash_add(struct ldb_module *module, struct ldb_request *req)
ntAttr = ldb_msg_find_element(req->op.mod.message, "unicodePwd");
lmAttr = ldb_msg_find_element(req->op.mod.message, "dBCSPwd");
- if ((!sambaAttr) && (!ntAttr) && (!lmAttr)) {
+ if ((!sambaAttr) && (!
clearTextPasswordAttr) && (!
ntAttr) && (!lmAttr)) {
return ldb_next_request(module, req);
}