summaryrefslogtreecommitdiffstats
path: root/server/confdb/confdb.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-01-30 11:55:46 -0500
committerSimo Sorce <idra@samba.org>2009-02-24 13:43:46 -0500
commit795e12d8315c4f7f0d4b2abb77fb49e0417e362a (patch)
tree13ec245e3986b82cc1be367fcae8d29329ff9fc9 /server/confdb/confdb.c
parentf2e97d2a437ec0a231275a7140773a03d5732148 (diff)
downloadsssd-795e12d8315c4f7f0d4b2abb77fb49e0417e362a.tar.gz
sssd-795e12d8315c4f7f0d4b2abb77fb49e0417e362a.tar.xz
sssd-795e12d8315c4f7f0d4b2abb77fb49e0417e362a.zip
Spec file patch Take 2:
Adding support for generating RPMS for sssd. Fixing TDB autoconf macros to require version 1.1.3 and support for the tdb_repack symbol (required by LDB) Updating tdb.h to #include <sys/stat.h> for proper autoconf Build system modifications to simplify RPM generation Fixing RPM build system as recommended during code review Minor tweaks to Makefile and sssd.spec Make policykit and infopipe configurable Soname and symlinks
Diffstat (limited to 'server/confdb/confdb.c')
-rw-r--r--server/confdb/confdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index 72967d204..743ce2778 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -515,6 +515,7 @@ static int confdb_init_db(struct confdb_ctx *cdb)
if (ret != EOK) goto done;
/* InfoPipe */
+#ifdef HAVE_INFOPIPE
/* Set the sssd_info description */
val[0] = "InfoPipe Configuration";
ret = confdb_add_param(cdb, false, "config/services/infp", "description", val);
@@ -529,8 +530,10 @@ static int confdb_init_db(struct confdb_ctx *cdb)
val[0] = "infp";
ret = confdb_add_param(cdb, false, "config/services", "activeServices", val);
if (ret != EOK) goto done;
+#endif
/* PolicyKit */
+#ifdef HAVE_POLICYKIT
/* Set the sssd_pk description */
val[0] = "PolicyKit Backend Configuration";
ret = confdb_add_param(cdb, false, "config/services/spk", "description", val);
@@ -545,6 +548,7 @@ static int confdb_init_db(struct confdb_ctx *cdb)
val[0] = "spk";
ret = confdb_add_param(cdb, false, "config/services", "activeServices", val);
if (ret != EOK) goto done;
+#endif
/* Domains */
val[0] = "Domains served by SSSD";