summaryrefslogtreecommitdiff
path: root/server/confdb
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-01-26 10:36:18 -0500
committerSimo Sorce <idra@samba.org>2009-01-27 11:44:12 -0500
commit133eafbed79bb1ca27604c4fea122b55ec998e9d (patch)
tree185b58e2a802a7f605c1b13234abe74eef28e0a9 /server/confdb
parent9dbee539a4c7e04e7cf41f3bfb16ef7c28274fcc (diff)
downloadsssd-133eafbed79bb1ca27604c4fea122b55ec998e9d.tar.gz
sssd-133eafbed79bb1ca27604c4fea122b55ec998e9d.tar.bz2
sssd-133eafbed79bb1ca27604c4fea122b55ec998e9d.zip
Add skeleton for InfoPipe service
Diffstat (limited to 'server/confdb')
-rw-r--r--server/confdb/confdb.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index f9cd20a1..f0290b47 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -457,7 +457,7 @@ static int confdb_init_db(struct confdb_ctx *cdb)
if (ret != EOK) goto done;
/* Data Provider */
- /* set the sssd_dp description */
+ /* Set the sssd_dp description */
val[0] = "Data Provider Configuration";
ret = confdb_add_param(cdb, false, "config/services/dp", "description", val);
if (ret != EOK) goto done;
@@ -472,9 +472,21 @@ static int confdb_init_db(struct confdb_ctx *cdb)
ret = confdb_add_param(cdb, false, "config/services", "activeServices", val);
if (ret != EOK) goto done;
-#if 0 /* Not yet implemented */
/* InfoPipe */
-#endif
+ /* Set the sssd_info description */
+ val[0] = "InfoPipe Configuration";
+ ret = confdb_add_param(cdb, false, "config/services/infp", "description", val);
+ if (ret != EOK) goto done;
+
+ /* Set the sssd_info command path */
+ val[0] = talloc_asprintf(tmp_ctx, "%s/sssd_info", SSSD_LIBEXEC_PATH);
+ ret = confdb_add_param(cdb, false, "config/services/infp", "command", val);
+ if (ret != EOK) goto done;
+
+ /* Add the InfoPipe to the list of active services */
+ val[0] = "infp";
+ ret = confdb_add_param(cdb, false, "config/services", "activeServices", val);
+ if (ret != EOK) goto done;
/* Domains */
val[0] = "Domains served by SSSD";