Try to connect to a ldap server
static public tryToConnectToServer ( $ldap_method, $login, $password ) : link | ||
$ldap_method | ldap_method array to use | |
$login | User Login | |
$password | User Password | |
return | link | to the LDAP server : false if connection failed |