From a4a90c62e6d843599138ca46f6488dca0398aac3 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 26 Mar 2008 01:27:36 +0100 Subject: Fix wbcAuthenticateUserEx(). Guenther (This used to be commit 79f7a519f8f61a31d84467c5b5975cae13db1c29) --- source3/nsswitch/libwbclient/wbc_pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/libwbclient') 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); } -- cgit