LDAP connector in php