mirror of
https://github.com/samba-team/samba.git
synced 2025-10-25 19:33:18 +03:00
r12719: Rename unicodePwd -> sambaPassword.
Because we don't know the syntax of unicodePwd, we want to avoid using that attribute name. It may cause problems later when we get replication form windows. I'm doing this before the tech preview, so we don't get too many supprises as folks upgrade databases into later versions. Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c10491fb9b
commit
097d9d0b7f
@@ -285,7 +285,7 @@ static NTSTATUS samsync_ldb_handle_user(TALLOC_CTX *mem_ctx,
|
||||
/* Passwords. Ensure there is no plaintext stored against
|
||||
* this entry, as we only have hashes */
|
||||
samdb_msg_add_delete(state->sam_ldb, mem_ctx, msg,
|
||||
"unicodePwd");
|
||||
"sambaPassword");
|
||||
if (user->lm_password_present) {
|
||||
samdb_msg_add_hash(state->sam_ldb, mem_ctx, msg,
|
||||
"lmPwdHash", &user->lmpassword);
|
||||
|
||||
Reference in New Issue
Block a user