summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-01-05 04:59:42 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-01-05 04:59:42 +0000
commitef553ab81460f9c424e13ff3b8c158c3b950b7f1 (patch)
treea75aaf93b72635f9c59ee3829ac8aa685c0175e2
parenta26f2fbe2b320246dca43161245d66c6a01240d3 (diff)
downloadsamba-ef553ab81460f9c424e13ff3b8c158c3b950b7f1.tar.gz
samba-ef553ab81460f9c424e13ff3b8c158c3b950b7f1.tar.bz2
samba-ef553ab81460f9c424e13ff3b8c158c3b950b7f1.zip
Even when I can't manage to do QA, at least the build farm will catch some of
the silly stuff. (fixes password changes from RAP based clients like smbpasswd) Andrew Bartlett (This used to be commit 066e4f9a4bdd432b3b2b7830c0ac1421f6086df4)
-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;
/*