Added basic LDAP function to check for existing username.