Merge branch 'master' of https://github.com/FHBGLD/FHC-Core into FHBGLD-master

This commit is contained in:
Paolo
2021-04-20 14:07:07 +02:00
+2 -1
View File
@@ -167,7 +167,8 @@ class LDAPLib
}
// LDAP connection
$ldapConnection = @ldap_connect($ldapConfigs[self::SERVER], $ldapConfigs[self::PORT]);
//$ldapConnection = @ldap_connect($ldapConfigs[self::SERVER], $ldapConfigs[self::PORT]);
$ldapConnection = @ldap_connect($ldapConfigs[self::SERVER].':'.$ldapConfigs[self::PORT]);
if ($ldapConnection) // if success
{
// Sets the LDAP protocol version