[Date Prev][Date Next] [Chronological] [Thread] [Top]

=Re: (ITS#3578) Client referral limit not working for V3 referrals

I've seen this as well.

One way of reproducing it with OpenLDAP's slapd is to configure slapd to
return referrals to itself using the "referral" setting, and to then
perform a search in a naming context which the server doesn't serve.  If
the client is letting libldap handle referrals, it will repeatedly query
the server, just as you noted.

A different workaround which avoids messing with the contents of
parentreq is to always pass the parent count directly to
ldap_send_server_request().  I've placed a patch against HEAD at
http://people.redhat.com/nalin/unsorted/openldap-hop.patch which does
this, maybe it'll be useful.