ldap and unix return different results