1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix the negation of the extra parinoia check on machine password changes.

I *love* automated testing - this one got picked up by the build farm.

Andew Bartlett
(This used to be commit b19296172a)
This commit is contained in:
Andrew Bartlett 2002-01-20 23:05:23 +00:00
parent b2cfadcac1
commit 5b5b6771a8

View File

@ -410,7 +410,7 @@ NTSTATUS _net_srv_pwset(pipes_struct *p, NET_Q_SRV_PWSET *q_u, NET_R_SRV_PWSET *
return NT_STATUS_NO_SUCH_USER;
}
if (!(pdb_get_acct_ctrl(sampass) & ACB_DISABLED)) {
if (pdb_get_acct_ctrl(sampass) & ACB_DISABLED) {
pdb_free_sam(&sampass);
return NT_STATUS_ACCOUNT_DISABLED;
}