Added ldap_connect verification