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

Re: attribute tag returned via search different to value in schema

--On Dienstag, 21. Mai 2002 11:12 +0930 Mark Prior <mrp@mrp.net> wrote:

For example, if you list the attributes in the pilotPerson you will find
mobileTelephoneNumber but if you create an object that contains
objectclass pilotPerson and set a value for mobileTelephoneNumber and
then search for the object it is returned as "mobile". This is not very
helpful if you are trying to create an application that allows a user to
fill in these values.

Which is the "correct" value and why aren't they the same? Also what do
other people do about this "strangeness"?

Both are correct:
attributetype ( 0.9.2342.19200300.100.1.41
NAME ( 'mobile' 'mobileTelephoneNumber' )
EQUALITY telephoneNumberMatch
SUBSTR telephoneNumberSubstringsMatch
The NAME of an attribute type can have multiple values. Implementations generally use the first one in the list when returning AttributeValueAssertions.

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