Strange ldap behavior