summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_idmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_idmap.c b/src/providers/ldap/sdap_idmap.c
index 43db0c833..a81bc98b8 100644
--- a/src/providers/ldap/sdap_idmap.c
+++ b/src/providers/ldap/sdap_idmap.c
@@ -81,10 +81,11 @@ sdap_idmap_init(TALLOC_CTX *mem_ctx,
|| idmap_upper <= idmap_lower
|| (idmap_upper-idmap_lower) < rangesize)
{
- DEBUG(SSSDBG_CRIT_FAILURE,
+ DEBUG(SSSDBG_FATAL_FAILURE,
("Invalid settings for range selection: [%d][%d][%d]\n",
idmap_lower, idmap_upper, rangesize));
ret = EINVAL;
+ goto done;
}
if (((idmap_upper - idmap_lower) % rangesize) != 0) {