Add lldap comunity container (#4398)

Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Jean-Yves 2024-04-04 10:26:42 +02:00 committed by GitHub
parent 6f8b06294e
commit 6530c5afc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 127 additions and 1 deletions

View file

@ -386,6 +386,14 @@ class ConfigurationManager
return $config['domain'];
}
public function GetBaseDN() : string {
$domain = $this->GetDomain();
if ($domain === "") {
return "";
}
return 'dc=' . implode(',dc=', explode('.', $domain));
}
public function GetBackupMode() : string {
$config = $this->GetConfig();
if(!isset($config['backup-mode'])) {