diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/password.c | 2 | ||||
-rw-r--r-- | source3/smbd/session.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 698c6a1356..ba882f2bf2 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -632,7 +632,7 @@ BOOL password_ok(char *user, char *password, int pwlen, struct passwd *pwd) */ if (ret) - return pam_accountcheck(user); + return smb_pam_accountcheck(user); } return pass_check(user, password, pwlen, pwd, diff --git a/source3/smbd/session.c b/source3/smbd/session.c index fb13019812..2f86832b4a 100644 --- a/source3/smbd/session.c +++ b/source3/smbd/session.c @@ -111,8 +111,8 @@ BOOL session_claim(uint16 vuid) } #if WITH_PAM - if (!pam_session(True, sessionid.username, sessionid.id_str, sessionid.hostname)) { - DEBUG(1,("pam_session rejected the session for %s [%s]\n", + if (!smb_pam_session(True, sessionid.username, sessionid.id_str, sessionid.hostname)) { + DEBUG(1,("smb_pam_session rejected the session for %s [%s]\n", sessionid.username, sessionid.id_str)); tdb_delete(tdb, key); return False; @@ -167,7 +167,7 @@ void session_yield(uint16 vuid) #endif #if WITH_PAM - pam_session(False, sessionid.username, sessionid.id_str, sessionid.hostname); + smb_pam_session(False, sessionid.username, sessionid.id_str, sessionid.hostname); #endif tdb_delete(tdb, key); |