summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-01-20 23:05:23 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-01-20 23:05:23 +0000
commit5b5b6771a84caddd8ebdbb6ad24f5b10b15fce3e (patch)
tree3e5ecbb61439b7e1288aefb4dd09008a476f3096
parentb2cfadcac14db83b488fb84f92f36b0b2d12826f (diff)
downloadsamba-5b5b6771a84caddd8ebdbb6ad24f5b10b15fce3e.tar.gz
samba-5b5b6771a84caddd8ebdbb6ad24f5b10b15fce3e.tar.bz2
samba-5b5b6771a84caddd8ebdbb6ad24f5b10b15fce3e.zip
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 b19296172a75449a27eb9f674c74c462b146e717)
-rw-r--r--source3/rpc_server/srv_netlog_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 077dbb0e2b..75a64b3039 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -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;
}