summaryrefslogtreecommitdiffstats
path: root/src/providers/ad/ad_opts.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-11-29 11:39:09 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-12-19 17:39:56 +0100
commitba4a81e933deebb416603369b447ead6ebaa040d (patch)
tree08da2bc284edac33893d9f4dd7aa96d5aa1c9aba /src/providers/ad/ad_opts.h
parent72ae534f5aef6d2e5d3f2f51299aede5abf9687e (diff)
downloadsssd-ba4a81e933deebb416603369b447ead6ebaa040d.tar.gz
sssd-ba4a81e933deebb416603369b447ead6ebaa040d.tar.xz
sssd-ba4a81e933deebb416603369b447ead6ebaa040d.zip
AD: Add a new option to turn off GC lookups
SSSD now defaults to using GC by default. For some environments, for instance those that don't or can't replicate the POSIX attributes to Global Catalog, this might not be desirable. This patch introduces a new option ad_enable_gc, that is enabled by default. Setting this option to false makes the SSSD contact only the LDAP port of AD DCs.
Diffstat (limited to 'src/providers/ad/ad_opts.h')
-rw-r--r--src/providers/ad/ad_opts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ad/ad_opts.h b/src/providers/ad/ad_opts.h
index 75c261314..6b4e874ed 100644
--- a/src/providers/ad/ad_opts.h
+++ b/src/providers/ad/ad_opts.h
@@ -36,6 +36,7 @@ struct dp_option ad_basic_opts[] = {
{ "krb5_realm", DP_OPT_STRING, NULL_STRING, NULL_STRING},
{ "ad_enable_dns_sites", DP_OPT_BOOL, BOOL_TRUE, BOOL_TRUE },
{ "ad_access_filter", DP_OPT_STRING, NULL_STRING, NULL_STRING},
+ { "ad_enable_gc", DP_OPT_BOOL, BOOL_TRUE, BOOL_TRUE },
DP_OPTION_TERMINATOR
};