diff --git a/src/Service/LdapService.php b/src/Service/LdapService.php index 8443ffa..fe3ac07 100644 --- a/src/Service/LdapService.php +++ b/src/Service/LdapService.php @@ -210,7 +210,7 @@ class LdapService public function addOrganisations() { $ldapentrys=$this->searchdn($this->baseorganisation); if(empty($ldapentrys)) { - $this->addOrganisation($this->basedn); + $this->addOrganisation($this->baseorganisation); } $ldapentrys=$this->searchdn($this->baseniveau01,$this->baseorganisation);