|
|
|
|
@ -520,20 +520,6 @@ class Connection extends LDAPUtility {
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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.',
|
|
|
|
|
|