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

Re: Re: search result seems to be odd

ah. thank you.

but, really it's odd.

then when do we use subtype?

in the core.schema with openldap, 'cn' attribute is a subtype of 'name' attribute. 

then, search results with name 'vanora' have cn matched entry.

this is acceptable. but 'o'(organization name) attribute also is a subtype of 'name' attribute.

in my thought, 'o' should not be subtype of 'name' attribute. doesn't it?

--On Dienstag, 11. September 2001 17:32 +0900 Yunhwan Kang 
<vanora@grtg.com> wrote:

> attributeType (
>          NAME 'mainid'
>          SUP uid )
> then
> i search the entry with filter "(uid=vanora)"
> then, search result have three entries..
> but only one entry has uid value with 'vanora'. and other two entries
> have mainid value with 'vanora'.
> is this a correct search result? in my thought, this results may be
> incorrect.

This is correct because mainid is a subtype of uid and searches for an 
attribute also consider its subtypes.

Norbert Klasen
DAASI International GmbH                 phone: +49 7071 29 70336
Wilhelmstr. 106                          fax:   +49 7071 29 5114
72074 T?ingen                           email: norbert.klasen@daasi.de
Germany                                  web:   http://www.daasi.de

Mail beyond Mail Mailution
Yunhwan Kang
GRTG Corporation. Development Dept. Technical Staff
mail:  vanora@korea.com, 강윤환@grtg.com, vanora@grtg.com, vanora@mailution.com
personal hompage : http://vanora.pe.kr