summaryrefslogtreecommitdiffstats
path: root/server/tools/tools_util.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2009-11-24 21:16:40 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-12-01 15:59:38 -0500
commit3fc84f21bd715c4cece722231af933a1981bb6e7 (patch)
tree8fa09c64af1c47616db575b10def6ad1b62f8b49 /server/tools/tools_util.c
parent6a1deabbc1918de34de65595142bbb2895d90ed9 (diff)
downloadsssd-3fc84f21bd715c4cece722231af933a1981bb6e7.tar.gz
sssd-3fc84f21bd715c4cece722231af933a1981bb6e7.tar.xz
sssd-3fc84f21bd715c4cece722231af933a1981bb6e7.zip
Better error message when there is no local domain configured
Fixes: #235
Diffstat (limited to 'server/tools/tools_util.c')
-rw-r--r--server/tools/tools_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tools/tools_util.c b/server/tools/tools_util.c
index bcb8d5c1e..b509ccb26 100644
--- a/server/tools/tools_util.c
+++ b/server/tools/tools_util.c
@@ -64,7 +64,7 @@ static int setup_db(struct tools_ctx *ctx)
ret = confdb_get_domain(ctx->confdb, "local", &ctx->local);
if (ret != EOK) {
- DEBUG(1, ("Could not get 'local' domain\n"));
+ DEBUG(1, ("Could not get 'local' domain: [%d] [%s]\n", ret, strerror(ret)));
return ret;
}