[SCM] Samba Shared Repository - branch master updated -
0f74de3d37cdb03f622d9cdc1cdcc4aa6ede5ce3
Stefan Metzmacher
metze at samba.org
Fri Dec 5 13:20:01 GMT 2008
The branch, master has been updated
via 0f74de3d37cdb03f622d9cdc1cdcc4aa6ede5ce3 (commit)
from 39e468f55859c01f7bdaab4086df371d3375099f (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 0f74de3d37cdb03f622d9cdc1cdcc4aa6ede5ce3
Author: Stefan Metzmacher <metze at samba.org>
Date: Fri Dec 5 13:29:58 2008 +0100
s4:password_hash: really catch the clearTextPasswordAttr case...
This fixes the creation of the user object for incoming trusts
in dcesrv_lsa_CreateTrustedDomain_base().
And now w2k3 trust samba4 just fine:-)
metze
-----------------------------------------------------------------------
Summary of changes:
source4/dsdb/samdb/ldb_modules/password_hash.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index cef1bf7..1707bab 100644
--- 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);
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list