diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 03d96bebc0..5820afacc8 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -626,7 +626,7 @@ BOOL password_ok(char *user, char *password, int pwlen, struct passwd *pwd) */ if (ret) - return smb_pam_accountcheck(user); + return (smb_pam_accountcheck(user) == NT_STATUS_NOPROBLEMO); } return pass_check(user, password, pwlen, pwd, |