summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass/pam_smb_passwd.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-11 23:44:33 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-11 23:44:33 +0000
commit65cfe6a492b236f49edd591a7e728cbeeed3c344 (patch)
tree260b1b6eccf012db5c3946feee3a6469db62dc55 /source3/pam_smbpass/pam_smb_passwd.c
parent6526a42558e1fb9ff0b9cea1de70d492e1bc4ce6 (diff)
downloadsamba-65cfe6a492b236f49edd591a7e728cbeeed3c344.tar.gz
samba-65cfe6a492b236f49edd591a7e728cbeeed3c344.tar.bz2
samba-65cfe6a492b236f49edd591a7e728cbeeed3c344.zip
pam_smbpass updates from a.bokovoy@sam-solutions.net
(This used to be commit 016e203a2c5286d8b48ab3eff0226affc203deaf)
Diffstat (limited to 'source3/pam_smbpass/pam_smb_passwd.c')
-rw-r--r--source3/pam_smbpass/pam_smb_passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/pam_smbpass/pam_smb_passwd.c b/source3/pam_smbpass/pam_smb_passwd.c
index 9d0b13d6ce..8c207cee0d 100644
--- a/source3/pam_smbpass/pam_smb_passwd.c
+++ b/source3/pam_smbpass/pam_smb_passwd.c
@@ -119,7 +119,7 @@ int pam_sm_chauthtok(pam_handle_t *pamh, int flags,
_log_err( LOG_DEBUG, "username [%s] obtained", user );
}
- if (!initialize_password_db()) {
+ if (!initialize_password_db(True)) {
_log_err( LOG_ALERT, "Cannot access samba password database" );
return PAM_AUTHINFO_UNAVAIL;
}