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

Re: error text in search results



At 04:15 PM 10/21/99 -0700, Howard Chu wrote:
>I was trying to send some descriptive text back in a search error from one
>of my backends, and couldn't understand why it wasn't being shown on the
>client. It turns out that the text wasn't ever being sent, due to this
>little bit in slapd/result.c - if the connection protocol was older than
>LDAPv3, the "text" was replaced with the "refs" stuff, regardless of whether
>or not the result code was actually dealing with a referral.

Referrals can be returned with many result codes such as
when the size or time limit is exceeded. 

A committed a small patch which should allow LDAPv2 search
operations to provide text in responses when no referrals
need to be returned.

Kurt



----
Kurt D. Zeilenga		<kurt@boolean.net>
Net Boolean Incorporated	<http://www.boolean.net/>