summaryrefslogtreecommitdiff
path: root/src/confdb
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-04-26 13:02:04 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-04-30 07:51:19 -0400
commit83bc461f812b3c3df260b5f75d84b34bb1135062 (patch)
tree7a0a98cedea387a575e1c7410a308bb28c098b28 /src/confdb
parent01c94127cf0fd72b6db828f1830fff1e5ed55bd1 (diff)
downloadsssd-83bc461f812b3c3df260b5f75d84b34bb1135062.tar.gz
sssd-83bc461f812b3c3df260b5f75d84b34bb1135062.tar.bz2
sssd-83bc461f812b3c3df260b5f75d84b34bb1135062.zip
Add dns_resolver_timeout option
We had a hard-coded timeout of five seconds for DNS lookups in the async resolver. This patch adds an option 'dns_resolver_timeout' to specify this value (Default: 5)
Diffstat (limited to 'src/confdb')
-rw-r--r--src/confdb/confdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/confdb/confdb.h b/src/confdb/confdb.h
index 0e0a1b10..be4dfb6f 100644
--- a/src/confdb/confdb.h
+++ b/src/confdb/confdb.h
@@ -100,6 +100,7 @@
#define CONFDB_DOMAIN_MPG "magic_private_groups"
#define CONFDB_DOMAIN_FQ "use_fully_qualified_names"
#define CONFDB_DOMAIN_ENTRY_CACHE_TIMEOUT "entry_cache_timeout"
+#define CONFDB_DOMAIN_RESOLV_TIMEOUT "dns_resolver_timeout"
#define CONFDB_DOMAIN_FAMILY_ORDER "lookup_family_order"
#define CONFDB_DOMAIN_ACCOUNT_CACHE_EXPIRATION "account_cache_expiration"