LDAP Connection URI angepasst
This commit is contained in:
parent
21c63b9d6c
commit
300719244e
@ -58,7 +58,8 @@ class LdapConnectionHelper
|
||||
|
||||
// Verbindung zum LDAP/AD-Server herstellen.
|
||||
// ldap_connect liefert entweder ein Verbindungs-Handle (Resource) oder false.
|
||||
$connection = ldap_connect($server, $port);
|
||||
$uri = $server . ':' . $port;
|
||||
$connection = ldap_connect($uri);
|
||||
|
||||
// Wenn keine Verbindung aufgebaut werden konnte, Exception werfen.
|
||||
if ($connection === false) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user