summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/providers/ldap/ldap_common.c1
-rw-r--r--src/providers/ldap/sdap.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index c92eb282a..4f78313bc 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -742,6 +742,7 @@ errno_t sdap_parse_search_base(TALLOC_CTX *mem_ctx,
break;
case SDAP_SERVICE_SEARCH_BASE:
class_name = "SERVICE";
+ break;
case SDAP_AUTOFS_SEARCH_BASE:
class_name = "AUTOFS";
break;
diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c
index 3ac19498a..9e052eef5 100644
--- a/src/providers/ldap/sdap.c
+++ b/src/providers/ldap/sdap.c
@@ -733,6 +733,7 @@ static errno_t sdap_set_search_base(struct sdap_options *opts,
break;
case SDAP_SERVICE_SEARCH_BASE:
bases = &opts->service_search_bases;
+ break;
case SDAP_AUTOFS_SEARCH_BASE:
bases = &opts->autofs_search_bases;
break;