From: Günther Deschner Date: Wed, 26 Mar 2008 00:27:36 +0000 (+0100) Subject: Fix wbcAuthenticateUserEx(). X-Git-Tag: samba-3.3.0pre1~3118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79f7a519f8f61a31d84467c5b5975cae13db1c29;p=thirdparty%2Fsamba.git Fix wbcAuthenticateUserEx(). Guenther --- diff --git a/source/nsswitch/libwbclient/wbc_pam.c b/source/nsswitch/libwbclient/wbc_pam.c index 1164ab173a5..c1457ccd087 100644 --- a/source/nsswitch/libwbclient/wbc_pam.c +++ b/source/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); }