Messed up ldap_connect()