1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

stupid cut-n=paste error; my fault

(This used to be commit ee8f142b87)
This commit is contained in:
Gerald Carter 2004-02-12 17:09:01 +00:00
parent 1fa1e931a3
commit b6a320bdc1

View File

@ -244,7 +244,7 @@ static NTSTATUS context_add_sam_account(struct pdb_context *context, SAM_ACCOUNT
been allowed by the ACB_PWNOTREQ bit */
lm_pw = pdb_get_lanman_passwd( sam_acct );
nt_pw = pdb_get_lanman_passwd( sam_acct );
nt_pw = pdb_get_nt_passwd( sam_acct );
acb_flags = pdb_get_acct_ctrl( sam_acct );
if ( !lm_pw && !nt_pw && !(acb_flags&ACB_PWNOTREQ) ) {
acb_flags |= ACB_DISABLED;
@ -279,7 +279,7 @@ static NTSTATUS context_update_sam_account(struct pdb_context *context, SAM_ACCO
been allowed by the ACB_PWNOTREQ bit */
lm_pw = pdb_get_lanman_passwd( sam_acct );
nt_pw = pdb_get_lanman_passwd( sam_acct );
nt_pw = pdb_get_nt_passwd( sam_acct );
acb_flags = pdb_get_acct_ctrl( sam_acct );
if ( !lm_pw && !nt_pw && !(acb_flags&ACB_PWNOTREQ) ) {
acb_flags |= ACB_DISABLED;