On Jan 31, 2009, at 11:21 AM, hyc(a)symas.com wrote:
> ando(a)sys-net.it wrote:
>> h.b.furuseth(a)usit.uio.no wrote:
>>> ando(a)sys-net.it writes:
>>>> Proxy backends use ldap_set_option(3) to set alias
>>>> dereferencing when requested by a search operation (and do
>>>> not clean it up afterwards, as far as I can tell). Since
>>>> LDAP handlers are pooled and reused, this behavior is
>>>> inherently broken.
> I recall complaining about this deficiency in the API back in 1998,
> when I
> first wrote back-ldap. Alias deref has always been a part of the
> protocol, but
> it has always been missing from the API. Perplexing...
Yes, of course, one might use the client control mechanism to add an
ability to set deref on a call by call basis instead of introducing
yet another function.
Hmm, maybe I missed something in this discussion and about the usage of
But I'd vote for another function which provides a complete set of
arguments for sending search requests. So if ldap_search_ext is
considered incomplete regarding alias dereferencing I'd vote for
introducing ldap_search_ext2 (or whatever name) with an additional argument.