diff options
author | Günther Deschner <gd@samba.org> | 2007-05-24 20:26:07 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:22:47 -0500 |
commit | 825c4ceffef31ac68747cba747df44e6f4b1a576 (patch) | |
tree | 504375419a8da20d46745274a9e737e2c5bb9b06 /source3/pam_smbpass/pam_smb_auth.c | |
parent | f260b45d646ae69602f63c1f6a002384b4828a1c (diff) | |
download | samba-825c4ceffef31ac68747cba747df44e6f4b1a576.tar.gz samba-825c4ceffef31ac68747cba747df44e6f4b1a576.tar.bz2 samba-825c4ceffef31ac68747cba747df44e6f4b1a576.zip |
r23121: Fix Bug #2727 and let pam_smbpass at least link and dlopen correctly again.
Thanks to Bartlomiej Solarz-Niesluchowski <Bartlomiej.Solarz-Niesluchowski@wit.edu.pl>.
Guenther
(This used to be commit ba956ab8e4097d46bbad12caf2fad6857f463618)
Diffstat (limited to 'source3/pam_smbpass/pam_smb_auth.c')
-rw-r--r-- | source3/pam_smbpass/pam_smb_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/pam_smbpass/pam_smb_auth.c b/source3/pam_smbpass/pam_smb_auth.c index ceb23c3633..819918e144 100644 --- a/source3/pam_smbpass/pam_smb_auth.c +++ b/source3/pam_smbpass/pam_smb_auth.c @@ -109,7 +109,7 @@ int pam_sm_authenticate(pam_handle_t *pamh, int flags, _log_err( LOG_DEBUG, "username [%s] obtained", name ); } - if (!initialize_password_db(True)) { + if (!initialize_password_db(True, NULL)) { _log_err( LOG_ALERT, "Cannot access samba password database" ); retval = PAM_AUTHINFO_UNAVAIL; AUTH_RETURN; |