diff options
Diffstat (limited to 'source3/passdb/pass_check.c')
-rw-r--r-- | source3/passdb/pass_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pass_check.c b/source3/passdb/pass_check.c index 677d298449..b6cc403b86 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) == NT_STATUS_NOPROBLEMO); + return (smb_pam_passcheck(this_user, password) == NT_STATUS_OK); #endif /* WITH_PAM */ #ifdef WITH_AFS |