[SSSD] [PATCH] stop processing a domain if no provider is given
Sumit Bose
sbose at redhat.com
Tue Sep 1 16:25:12 UTC 2009
Hi,
this patch fixes a minor bug in the configuration processing.
bye,
Sumit
-------------- next part --------------
>From 08387004e8894bc6a3fa9dd0dae658cc7db8dd89 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Tue, 1 Sep 2009 17:16:05 +0200
Subject: [PATCH] stop processing a domain if no provider is given
---
server/confdb/confdb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/server/confdb/confdb.c b/server/confdb/confdb.c
index 03d8e67..72e5eeb 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],
--
1.6.2.5
More information about the sssd-devel
mailing list