how to make user iteration work (ldap)