summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-09-11 15:54:12 -0400
committerSimo Sorce <ssorce@redhat.com>2009-09-11 17:57:02 -0400
commitfa2004ce9f3d26681215cdc46c4ecb9c9dfea8fe (patch)
treea7947f2f09d7f09e522bbea111dc503092570e6f
parentb2d8e7134de36277ea7061b82bc007e41df723d6 (diff)
downloadsssd-fa2004ce9f3d26681215cdc46c4ecb9c9dfea8fe.tar.gz
sssd-fa2004ce9f3d26681215cdc46c4ecb9c9dfea8fe.tar.bz2
sssd-fa2004ce9f3d26681215cdc46c4ecb9c9dfea8fe.zip
Print error message when connection to the config db fails
-rw-r--r--server/confdb/confdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index a3bb62c8..324946d2 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -665,6 +665,8 @@ int confdb_init(TALLOC_CTX *mem_ctx,
ret = ldb_connect(cdb->ldb, confdb_location, 0, NULL);
if (ret != LDB_SUCCESS) {
+ DEBUG(0, ("Unable to open config database [%s]\n",
+ confdb_location));
talloc_free(cdb);
return EIO;
}