summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_common.h
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-06-26 13:00:10 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-06-29 11:37:18 -0400
commit5f73b623fc72e3b9b3590420825f30e618b4d4dd (patch)
tree50ee93c69f4420691806750eabb1887eba1ab331 /src/providers/ldap/ldap_common.h
parent9af677f3bae3a7c1386867e4d42970555b3d6b9a (diff)
downloadsssd-5f73b623fc72e3b9b3590420825f30e618b4d4dd.tar.gz
sssd-5f73b623fc72e3b9b3590420825f30e618b4d4dd.tar.xz
sssd-5f73b623fc72e3b9b3590420825f30e618b4d4dd.zip
sudo ldap provider: load host filter configuration on init
We need to load host information during provider initialization. Currently it loads only values from configuration files, but it is implemented as an asynchrounous request as it will later try to autodetect these settings (which will need to contact DNS).
Diffstat (limited to 'src/providers/ldap/ldap_common.h')
-rw-r--r--src/providers/ldap/ldap_common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index 8bd2584e1..1a458ec90 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -126,7 +126,10 @@ int ldap_get_options(TALLOC_CTX *memctx,
int ldap_get_sudo_options(TALLOC_CTX *memctx,
struct confdb_ctx *cdb,
const char *conf_path,
- struct sdap_options *opts);
+ struct sdap_options *opts,
+ bool *use_host_filter,
+ bool *include_regexp,
+ bool *include_netgroups);
int ldap_get_autofs_options(TALLOC_CTX *memctx,
struct confdb_ctx *cdb,