summaryrefslogtreecommitdiffstats
path: root/server/monitor.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2008-11-06 15:45:24 -0500
committerSimo Sorce <idra@samba.org>2008-11-07 16:51:21 -0500
commit9396e620134760e7b562b5452f34ec80dc6f2af7 (patch)
treede226c456d579270d20be914af9fddb961ca4d73 /server/monitor.c
parent5851bf4d73fdab8634e2098e73eaef396504ed74 (diff)
downloadsssd-9396e620134760e7b562b5452f34ec80dc6f2af7.tar.gz
sssd-9396e620134760e7b562b5452f34ec80dc6f2af7.tar.xz
sssd-9396e620134760e7b562b5452f34ec80dc6f2af7.zip
Store all domains served by the SSSD to a binary-tree map for fast NSS lookup.
Changed the "section" feature of confdb.c to use '/' as a delimiter instead of '.', because this conflicted with the ability to use dots in domain names.
Diffstat (limited to 'server/monitor.c')
-rw-r--r--server/monitor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/monitor.c b/server/monitor.c
index c5d5781f8..9eccb0b9e 100644
--- a/server/monitor.c
+++ b/server/monitor.c
@@ -112,7 +112,7 @@ static int monitor_dbus_init(struct mt_ctx *ctx)
int ret;
ret = confdb_get_string(ctx->cdb, ctx,
- "config.services.monitor", "sbusAddress",
+ "config/services/monitor", "sbusAddress",
DEFAULT_SBUS_ADDRESS, &sbus_address);
if (ret != EOK) {
return ret;
@@ -253,14 +253,14 @@ int get_monitor_config(struct mt_ctx *ctx)
int ret;
ret = confdb_get_int(ctx->cdb, ctx,
- "config.services.monitor", "sbusTimeout",
+ "config/services/monitor", "sbusTimeout",
-1, &ctx->service_id_timeout);
if (ret != EOK) {
return ret;
}
ret = confdb_get_int(ctx->cdb, ctx,
- "config.services.monitor", "servicePingTime",
+ "config/services/monitor", "servicePingTime",
MONITOR_MIN_PING_TIME, &ctx->service_ping_time);
if (ret != EOK) {
return ret;
@@ -269,7 +269,7 @@ int get_monitor_config(struct mt_ctx *ctx)
ctx->service_ping_time = MONITOR_MIN_PING_TIME;
ret = confdb_get_param(ctx->cdb, ctx,
- "config.services", "activeServices",
+ "config/services", "activeServices",
&ctx->services);
if (ctx->services[0] == NULL) {