mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
Update LDAPLib.php
This commit is contained in:
@@ -167,7 +167,8 @@ class LDAPLib
|
|||||||
}
|
}
|
||||||
|
|
||||||
// LDAP connection
|
// 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
|
if ($ldapConnection) // if success
|
||||||
{
|
{
|
||||||
// Sets the LDAP protocol version
|
// Sets the LDAP protocol version
|
||||||
|
|||||||
Reference in New Issue
Block a user