diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-26 05:58:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:06:10 -0500 |
commit | 990acc9f770325bf8c5bb8d04e0c6f6cdb4b67ef (patch) | |
tree | 1d926ce7ba863cd214597e0f5eaa3449327c3d13 /source4/rpc_server/samr | |
parent | b6b01064279c0cf5bae8b2324c760f1f7f6be457 (diff) | |
download | samba-990acc9f770325bf8c5bb8d04e0c6f6cdb4b67ef.tar.gz samba-990acc9f770325bf8c5bb8d04e0c6f6cdb4b67ef.tar.bz2 samba-990acc9f770325bf8c5bb8d04e0c6f6cdb4b67ef.zip |
r3977: fixed the lmPwdHash change in the rpc server (we were not fetching the
lm hash from the samdb, and thus not checking the verifier)
fixed the client side to calculate the lm verifier based on the nt
hash, not the lm hash (confirmed using w2k3)
(This used to be commit 27e7fb3bafe4649359e2e68169b6f10fd4d2cc70)
Diffstat (limited to 'source4/rpc_server/samr')
-rw-r--r-- | source4/rpc_server/samr/samr_password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/samr_password.c b/source4/rpc_server/samr/samr_password.c index 787061602c..a3a1d2230f 100644 --- a/source4/rpc_server/samr/samr_password.c +++ b/source4/rpc_server/samr/samr_password.c @@ -251,7 +251,7 @@ NTSTATUS samr_ChangePasswordUser3(struct dcesrv_call_state *dce_call, const char *user_dn, *domain_dn = NULL; int ret; struct ldb_message **res, mod; - const char * const attrs[] = { "objectSid", "ntPwdHash", "unicodePwd", NULL }; + const char * const attrs[] = { "objectSid", "ntPwdHash", "lmPwdHash", "unicodePwd", NULL }; const char * const dom_attrs[] = { "minPwdLength", "pwdHistoryLength", "pwdProperties", "minPwdAge", "maxPwdAge", NULL }; |