Iteration for ldap userdb does not work