Issue 2439 - mismatch in alias'd attributes
Summary: mismatch in alias'd attributes
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-10 20:04 UTC by Quanah Gibson-Mount
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kurt Zeilenga 2003-04-10 19:27:40 UTC
changed notes
changed state Open to Closed
Comment 1 Quanah Gibson-Mount 2003-04-10 20:04:47 UTC
Full_Name: Quanah Gibson-Mount
Version: 2.1.16
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (171.64.19.82)


For almost all alias'd attributes, the short name is what is returned for a
search.

I.e., search on commonname returns cn
search on distinguishedName returns dn

However, search on gn returns givenName.  This is inconsistent behavior.

--Quanah

Comment 2 Kurt Zeilenga 2003-04-10 20:18:39 UTC
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) (171.64.19.82)
>
>
>For almost all alias'd attributes, the short name is what is returned for a
>search.
>
>I.e., search on commonname returns cn

RFC 2256: ( 2.5.4.3 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: ( 2.5.4.42 NAME 'givenName' SUP name )

>This is inconsistent behavior.

The behavior is quite consist with the technical specification.

Kurt 

Comment 3 Howard Chu 2007-10-18 11:22:33 UTC
moved from Incoming to Archive.Incoming
Comment 4 OpenLDAP project 2014-08-01 21:05:34 UTC
not a bug