LDAP Connection URI angepasst

This commit is contained in:
blaerf 2025-12-05 09:08:14 +01:00
parent 434b090b08
commit 50d53b4183

View File

@ -58,7 +58,7 @@ class LdapConnectionHelper
// Verbindung zum LDAP/AD-Server herstellen.
// ldap_connect liefert entweder ein Verbindungs-Handle (Resource) oder false.
$uri = $server . ':' . $port;
$uri = "ldap://".$server . ':' . $port;
$connection = ldap_connect($uri);
// Wenn keine Verbindung aufgebaut werden konnte, Exception werfen.