summaryrefslogtreecommitdiffstats
path: root/source/smbd/chgpasswd.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-05 05:11:02 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-05 05:11:02 +0000
commit4b1a316e79ba87cb35a019a2089e6469ad9a3c3e (patch)
tree21d57ce6ac1f10b3ca26e121fd6e4887f4ae3642 /source/smbd/chgpasswd.c
parent3b24da8f9971e73b9cb4396e6a18c0694d279aa3 (diff)
downloadsamba-4b1a316e79ba87cb35a019a2089e6469ad9a3c3e.tar.gz
samba-4b1a316e79ba87cb35a019a2089e6469ad9a3c3e.tar.xz
samba-4b1a316e79ba87cb35a019a2089e6469ad9a3c3e.zip
Merge from HEAD - get the test the right way around, so that we can change
passwords over RAP again. (found by the build farm) Andrew Bartlett
Diffstat (limited to 'source/smbd/chgpasswd.c')
-rw-r--r--source/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/chgpasswd.c b/source/smbd/chgpasswd.c
index 80b412af49d..a9729da799e 100644
--- a/source/smbd/chgpasswd.c
+++ b/source/smbd/chgpasswd.c
@@ -748,7 +748,7 @@ NTSTATUS pass_oem_change(char *user,
= check_oem_password(user, lmdata, lmhash, ntdata, nthash,
&sampass, new_passwd, sizeof(new_passwd));
- if (NT_STATUS_IS_OK(nt_status))
+ if (!NT_STATUS_IS_OK(nt_status))
return nt_status;
/*