mirror of
https://github.com/samba-team/samba.git
synced 2025-10-26 23:33:15 +03:00
r21362: rename:
"ntPwdHash" => "unicodePwd" "lmPwdHash" => "dBCSPwd" "sambaLMPwdHistory" => "lmPwdHistory" "sambaNTPwdHistory" => "ntPwdHistory" Note: you need to reprovision after this change! metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c8d903b606
commit
dc4242c09c
@@ -368,17 +368,17 @@ static NTSTATUS samsync_ldb_handle_user(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
if (user->lm_password_present) {
|
||||
samdb_msg_add_hash(state->sam_ldb, mem_ctx, msg,
|
||||
"lmPwdHash", &user->lmpassword);
|
||||
"dBCSPwd", &user->lmpassword);
|
||||
} else if (!add) {
|
||||
samdb_msg_add_delete(state->sam_ldb, mem_ctx, msg,
|
||||
"lmPwdHash");
|
||||
"dBCSPwd");
|
||||
}
|
||||
if (user->nt_password_present) {
|
||||
samdb_msg_add_hash(state->sam_ldb, mem_ctx, msg,
|
||||
"ntPwdHash", &user->ntpassword);
|
||||
"unicodePwd", &user->ntpassword);
|
||||
} else if (!add) {
|
||||
samdb_msg_add_delete(state->sam_ldb, mem_ctx, msg,
|
||||
"ntPwdHash");
|
||||
"unicodePwd");
|
||||
}
|
||||
|
||||
ADD_OR_DEL(string, "comment", comment.string);
|
||||
|
||||
Reference in New Issue
Block a user