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

Re: potential bug

Rahul Amaram writes:
> attributetype ( NAME 'middleName' SUP name )
> Now let us assume that the value of the attribute 'middleName' for a 
> particular dn is 'Konda'. Then performing a search on the basedn with 
> the filter "(name=Konda)" returns that particular dn. Is this a bug or 
> anticipated behaviour?

It's a feature, not a bug.  Just like filter (title=foo) will match
attribute "title;lang-en: foo".  See RFC 4511 section, which
refers to matches of "the attribute type or subtype".

Similarly, if 'name' is listed as one of the attributes to be returned,
'middleName' will be returned.  And cn, sn, title, givenName.