diff options
author | Alexander Bokovoy <ab@samba.org> | 2007-12-13 12:55:32 +0300 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2007-12-13 12:55:32 +0300 |
commit | ceedf1a111598c815ffef9a0fe312689cc4bf136 (patch) | |
tree | b4bc65eb6ac5444288fa4fcae3aae914e847df9e /source3/pam_smbpass | |
parent | 819a74ed8f1d2b312a22cc803235aaece0e24697 (diff) | |
download | samba-ceedf1a111598c815ffef9a0fe312689cc4bf136.tar.gz samba-ceedf1a111598c815ffef9a0fe312689cc4bf136.tar.bz2 samba-ceedf1a111598c815ffef9a0fe312689cc4bf136.zip |
Fix pam_smbpass build
(This used to be commit fbc510f1717fe82338262c18c252d18987c55b5c)
Diffstat (limited to 'source3/pam_smbpass')
-rw-r--r-- | source3/pam_smbpass/support.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/pam_smbpass/support.c b/source3/pam_smbpass/support.c index 9d56bd4950..bc9481d9e9 100644 --- a/source3/pam_smbpass/support.c +++ b/source3/pam_smbpass/support.c @@ -61,10 +61,6 @@ void _cleanup(pam_handle_t *, void *, int); char *_pam_delete(register char *); - /* default configuration file location */ - - const char *servicesf = get_dyn_CONFIGFILE(); - /* syslogging function for errors and other information */ void _log_err( int err, const char *format, ... ) @@ -128,7 +124,7 @@ int set_ctrl( int flags, int argc, const char **argv ) { int i = 0; - const char *service_file = get_dyn_CONFIGFILE(); + const char *service_file = NULL; unsigned int ctrl; ctrl = SMB_DEFAULTS; /* the default selection of options */ @@ -139,7 +135,7 @@ int set_ctrl( int flags, int argc, const char **argv ) set( SMB__NONULL, ctrl ); /* initialize service file location */ - service_file=servicesf; + service_file=get_dyn_CONFIGFILE(); if (flags & PAM_SILENT) { set( SMB__QUIET, ctrl ); |