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

Re: mismatch in alias'd attributes (ITS#2439)

At 01:04 PM 4/10/2003, quanah@stanford.edu wrote:
>Full_Name: Quanah Gibson-Mount
>Version: 2.1.16
>OS: Solaris 8
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (
>For almost all alias'd attributes, the short name is what is returned for a
>I.e., search on commonname returns cn

RFC 2256: ( NAME 'cn' SUP name )

>search on distinguishedName returns dn

An entry's DN is not an attribute.  In RFC 2849, the
entry's DN is follows "dn:".  distinguishedName (RFC2256)
is an attribute type, commonly used as a supertype for other
attributes such as 'member'.  Only if you have values
of the distinguishedName will you see it in the returned
set of attributes.

>However, search on gn returns givenName.

RFC 2256: ( NAME 'givenName' SUP name )

>This is inconsistent behavior.

The behavior is quite consist with the technical specification.