summaryrefslogtreecommitdiff
path: root/source3
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
commit6233651ca12946c6a17632517c16bccf92b69b4a (patch)
tree90dff80350b0351d54706c57afb719438d410602 /source3
parent4eb59f56f17b309f4bd6284c3d3c9550a67060bc (diff)
downloadsamba-6233651ca12946c6a17632517c16bccf92b69b4a.tar.gz
samba-6233651ca12946c6a17632517c16bccf92b69b4a.tar.bz2
samba-6233651ca12946c6a17632517c16bccf92b69b4a.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 (This used to be commit 4b1a316e79ba87cb35a019a2089e6469ad9a3c3e)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/chgpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/chgpasswd.c b/source3/smbd/chgpasswd.c
index 80b412af49..a9729da799 100644
--- a/source3/smbd/chgpasswd.c
+++ b/source3/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;
/*