diff --git a/apps/user_ldap/lib/Connection.php b/apps/user_ldap/lib/Connection.php index 5538b0ac6b3f3..71a7a7838182f 100644 --- a/apps/user_ldap/lib/Connection.php +++ b/apps/user_ldap/lib/Connection.php @@ -520,20 +520,6 @@ private function doCriticalValidation(): void { ); } - if (!empty($baseUsers) && !$this->checkBasesAreValid($baseUsers, $base)) { - throw new ConfigurationIssueException( - 'User base is not in root base', - $this->l10n->t('User base DN is not a subnode of global base DN'), - ); - } - - if (!empty($baseGroups) && !$this->checkBasesAreValid($baseGroups, $base)) { - throw new ConfigurationIssueException( - 'Group base is not in root base', - $this->l10n->t('Group base DN is not a subnode of global base DN'), - ); - } - if (mb_strpos((string)$this->configuration->ldapLoginFilter, '%uid', 0, 'UTF-8') === false) { throw new ConfigurationIssueException( 'Login filter does not contain %uid placeholder.',