summaryrefslogtreecommitdiff
path: root/source3/passdb/pass_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/pass_check.c')
-rw-r--r--source3/passdb/pass_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pass_check.c b/source3/passdb/pass_check.c
index 05f7138c3c..9424189b23 100644
--- a/source3/passdb/pass_check.c
+++ b/source3/passdb/pass_check.c
@@ -599,7 +599,7 @@ static BOOL password_check(char *password)
{
#ifdef WITH_PAM
- return (smb_pam_passcheck(this_user, password));
+ return (smb_pam_passcheck(this_user, password) == NT_STATUS_NOPROBLEMO);
#endif /* WITH_PAM */
#ifdef WITH_AFS