[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: multi-value attribute search result
- To: "Pierangelo Masarati" <ando@sys-net.it>
- Subject: Re: multi-value attribute search result
- From: "Gavin Henry" <ghenry@suretecsystems.com>
- Date: Sat, 30 Jun 2007 20:47:47 +0100 (BST)
- Cc: Piotr Wadas <pwadas@jewish.org.pl>, openldap-software@openldap.org, Zhang Weiwu <zhangweiwu@realss.com>
- Importance: Normal
- In-reply-to: <46865C21.4090600@sys-net.it>
- References: <Pine.LNX.4.64.0706241434030.3164@kehillah.jewish.org.pl> <467E77A6.1010802@sys-net.it> <1183197134.23248.3.camel@joe.realss.com> <46865C21.4090600@sys-net.it>
- User-agent: SquirrelMail/1.4.10a-1.fc6
<quote who="Pierangelo Masarati">
> Zhang Weiwu wrote:
>> On Sun, 2007-06-24 at 15:54 +0200, Pierangelo Masarati wrote:
>>> Piotr Wadas wrote:
>>>> Hello,
>>>> using openldap 2.3.35.
>>>>
>>>> When I do a search for some attribute like "cn=foobar", and in set of
>>>> attributes which are to be returned per-entry is "cn" attribute, all
>>>> its
>>>> values are returned.
>>>>
>>>> however, when I search with "cn=foo*", and entry has multiple
>>>> "cn" values, like
>>>>
>>>> "cn=foo",
>>>> "cn=joe",
>>>> "cn=foobar",
>>>> "cn=foobarX",
>>>> "cn=bob",
>>>> "cn=nofoobar"
>>>>
>>>> - is it possible to have "cn" returned, but only these values,
>>>> which actually matched the filter ?
>>> Yes. Use RFC 3876 control. E.g.
>>>
>>> $ ldapsearch -E mv="(cn=foo*)"
>>
>> Cool, only this is not mentioned in ldapsearch man page.
>
> Please file an ITS for this. Complaining in the last of a series of
> emails on a partially related subject is really the best way for not
> seeing it fixed ever.
Please do, then I will action the addition.
Gavin.