summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-26 01:27:36 +0100
committerGünther Deschner <gd@samba.org>2008-03-26 01:30:02 +0100
commita4a90c62e6d843599138ca46f6488dca0398aac3 (patch)
treec0502a23acdaa1104ddb52dc0ca6a660c75f2d71 /source3/nsswitch
parent5b8591c05f45b20f19b359dbf5200efe44b35502 (diff)
downloadsamba-a4a90c62e6d843599138ca46f6488dca0398aac3.tar.gz
samba-a4a90c62e6d843599138ca46f6488dca0398aac3.tar.bz2
samba-a4a90c62e6d843599138ca46f6488dca0398aac3.zip
Fix wbcAuthenticateUserEx().
Guenther (This used to be commit 79f7a519f8f61a31d84467c5b5975cae13db1c29)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/libwbclient/wbc_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_pam.c b/source3/nsswitch/libwbclient/wbc_pam.c
index 1164ab173a..c1457ccd08 100644
--- a/source3/nsswitch/libwbclient/wbc_pam.c
+++ b/source3/nsswitch/libwbclient/wbc_pam.c
@@ -324,7 +324,7 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params,
WBFLAG_PAM_LMKEY;
if (params->password.response.lm_length &&
- params->password.response.lm_data) {
+ !params->password.response.lm_data) {
wbc_status = WBC_ERR_INVALID_PARAM;
BAIL_ON_WBC_ERROR(wbc_status);
}