Minor changes in ldap.php