summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-03-30 13:13:04 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-03-30 07:39:58 -0400
commite72ad8b1b0dac22aeb097a54c20c7ed32d2bf242 (patch)
tree3aee6d55643901590d9e252f456c34a72e919bfe /server
parent6bff6d3029cee71a5ef7cab512f0888989f1dcc7 (diff)
downloadsssd-e72ad8b1b0dac22aeb097a54c20c7ed32d2bf242.tar.gz
sssd-e72ad8b1b0dac22aeb097a54c20c7ed32d2bf242.tar.bz2
sssd-e72ad8b1b0dac22aeb097a54c20c7ed32d2bf242.zip
fixed two issues in the initial configuration
- value array is not terminated properly - infopipe service is added dynamically
Diffstat (limited to 'server')
-rw-r--r--server/confdb/confdb.c2
-rw-r--r--server/confdb/confdb_private.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index 0154c140..0c46100b 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -526,7 +526,7 @@ static int confdb_init_db(struct confdb_ctx *cdb)
{
const char *base_ldif;
struct ldb_ldif *ldif;
- const char *val[2];
+ const char *val[2] = {NULL, NULL};
int ret;
TALLOC_CTX *tmp_ctx;
diff --git a/server/confdb/confdb_private.h b/server/confdb/confdb_private.h
index a911e9c4..59746ff9 100644
--- a/server/confdb/confdb_private.h
+++ b/server/confdb/confdb_private.h
@@ -24,7 +24,6 @@
"activeServices: dp\n" \
"activeServices: nss\n" \
"activeServices: pam\n" \
- "activeServices: info\n" \
"\n" \
"dn: cn=monitor,cn=services,cn=config\n" \
"cn: monitor\n" \