summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-09-01 17:16:05 +0200
committerStephen Gallagher <sgallagh@redhat.com>2009-09-01 14:50:24 -0400
commitd5450bc3c771bcc4c70f07b7028c9dffd80a5281 (patch)
treeb49fa5915cb314bef3d85dd35974c3aec6f7c226
parent2cfd9562a4e7fae31c226c12a467d0225d42a89f (diff)
downloadsssd-d5450bc3c771bcc4c70f07b7028c9dffd80a5281.tar.gz
sssd-d5450bc3c771bcc4c70f07b7028c9dffd80a5281.tar.bz2
sssd-d5450bc3c771bcc4c70f07b7028c9dffd80a5281.zip
stop processing a domain if no provider is given
-rw-r--r--server/confdb/confdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index 03d8e67a..72e5eeb4 100644
--- a/server/confdb/confdb.c
+++ b/server/confdb/confdb.c
@@ -738,6 +738,7 @@ int confdb_get_domain(struct confdb_ctx *cdb,
DEBUG(0, ("Domain [%s] does not specify a provider, disabling!\n",
domain->name));
ret = EINVAL;
+ goto done;
}
domain->timeout = ldb_msg_find_attr_as_int(res->msgs[0],