1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

s3: Fix a likely cut&paste error

This commit is contained in:
Volker Lendecke 2012-05-14 19:48:16 +02:00
parent 5e6357b421
commit c562a534c8

View File

@ -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,