Minor updates in Ldap.php