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

RE: commit: ldap/servers/slapd result.c



> At 05:37 AM 12/2/99 -0800, Howard Chu wrote:
> >Why does trim_refs_urls cut off the DN?
>
> The code is designed to implement the IETF LDAPext named references
> draft.
>
> >This isn't right.
>
> My interpetation of the draft could be wrong.

Let me rephrase... The behavior looks correct for non-search operations. But
I think it needs to be fixed for searches. The DN should not be truncated,
and also, a check needs to be done against scope - if the search is
LDAP_SCOPE_ONELEVEL it needs to be explicitly changed to base scope in the
referral URI.