diff options
author | Volker Lendecke <vl@samba.org> | 2012-05-14 19:48:16 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-05-15 16:18:50 +0200 |
commit | c562a534c854388e860d0231aab5dad4f06dfe2c (patch) | |
tree | 07213a681bf7f8696470a2baa10ae46df57478b1 /source3/smbd | |
parent | 5e6357b42149ad4504fdd7b05acd264d10fcbe67 (diff) | |
download | samba-c562a534c854388e860d0231aab5dad4f06dfe2c.tar.gz samba-c562a534c854388e860d0231aab5dad4f06dfe2c.tar.bz2 samba-c562a534c854388e860d0231aab5dad4f06dfe2c.zip |
s3: Fix a likely cut&paste error
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/lanman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 31775bf5f4..ac2faa9f5d 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -3145,7 +3145,7 @@ static bool api_SetUserPassword(struct smbd_server_connection *sconn, ZERO_STRUCT(old_lm_hash); ZERO_STRUCT(new_lm_hash); memcpy(old_lm_hash.hash, pass1, MIN(strlen(pass1), 16)); - memcpy(new_lm_hash.hash, pass1, MIN(strlen(pass2), 16)); + memcpy(new_lm_hash.hash, pass2, MIN(strlen(pass2), 16)); } status = dcerpc_samr_ChangePasswordUser(b, mem_ctx, |