diff options
Diffstat (limited to 'source3/pam_smbpass/support.c')
-rw-r--r-- | source3/pam_smbpass/support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/pam_smbpass/support.c b/source3/pam_smbpass/support.c index 3dfdff3c02..e79d787be9 100644 --- a/source3/pam_smbpass/support.c +++ b/source3/pam_smbpass/support.c @@ -203,7 +203,7 @@ int set_ctrl( pam_handle_t *pamh, int flags, int argc, const char **argv ) /* Read some options from the Samba config. Can be overridden by the PAM config. */ - if(lp_load(service_file,True,False,False,True) == False) { + if(lp_load_client(service_file) == false) { _log_err(pamh, LOG_ERR, "Error loading service file %s", service_file); } |