summaryrefslogtreecommitdiff
path: root/server/providers
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-04-14 10:22:20 -0400
committerSimo Sorce <ssorce@redhat.com>2009-04-14 13:50:49 -0400
commitac5a54e24ac79a33ddf8320811d981b950e21e8e (patch)
tree5c3597d6db83e990202b61ef8ed29a57b8546bc3 /server/providers
parent2f9fb5b8dcf09a3285386b8bade78bcd6867cb24 (diff)
downloadsssd-ac5a54e24ac79a33ddf8320811d981b950e21e8e.tar.gz
sssd-ac5a54e24ac79a33ddf8320811d981b950e21e8e.tar.bz2
sssd-ac5a54e24ac79a33ddf8320811d981b950e21e8e.zip
Make reconnection to the Data Provider a global setting
Previously, every DP client was allowed to set its own "retries" option. This option was ambiguous, and useless. All DP clients will now use a global option set in the services config called "reconnection_retries"
Diffstat (limited to 'server/providers')
-rw-r--r--server/providers/data_provider_be.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/providers/data_provider_be.c b/server/providers/data_provider_be.c
index 3d824c39..6cd86e89 100644
--- a/server/providers/data_provider_be.c
+++ b/server/providers/data_provider_be.c
@@ -681,8 +681,8 @@ static int be_cli_init(struct be_ctx *ctx)
}
/* Enable automatic reconnection to the Data Provider */
- ret = confdb_get_int(ctx->cdb, ctx, ctx->conf_path,
- "retries", 3, &max_retries);
+ ret = confdb_get_int(ctx->cdb, ctx, SERVICE_CONF_ENTRY,
+ "reconnection_retries", 3, &max_retries);
if (ret != EOK) {
DEBUG(0, ("Failed to set up automatic reconnection\n"));
return ret;