Skip to main content

2. The Notation

The notation used in this specification is defined in [HK93]. This notation defines an unambiguous representation of distinguished name, and this specification is designed to be used in conjunction with this format. Both specifications arise from the same piece of research work [Kil90]. Some examples of the specification are given here.

The author's User Friendly Name (UFN) might be written:

Steve Hardcastle-Kille, Computer Science, University College
London, GB

or

S. Hardcastle-Kille, Computer Science, University College London,
GB

This may be folded, perhaps to display in multi-column format. For example:

Steve Hardcastle-Kille,
Computer Science,
University College London,
GB

Another UFN might be:

Christian Huitema, INRIA, FR

or

James Hacker,
Basingstoke,
Widget Inc,
GB

The final example shows quoting of a comma in an Organisation name:

L. Eagle, "Sue, Grabbit and Runn", GB

A purported name is what a user supplies to an interface for resolution into one or more distinguished names. A system should almost always store a name as a distinguished name. This will be more efficient, and avoid problems with purported names which become ambiguous when a new name appears. A user interface may display a distinguished name, using the distinguished name notation. However, it may display a purported name in cases where this will be more pleasing to the user. Examples of this might be:

o Omission of the higher components of the distinguished name are not displayed (abbreviation).

o Omission of attribute types, where the type is unlikely to be needed to resolve ambiguity.

The ways in which a purported name may vary from a distinguished name are now described:

Type Omission

There are two cases of this.

o Schema defaulting. In this case, although the type is not present, a schema defaulting is used to deduce the type. The first two types of schema defaulting may be used to deduce a distinguished name without the use of the directory. The use of schema defaulting may be useful to improve the performance of UFN resolution. The types of schema defaulting are:

--  Default Schema
--  Context Dependent Default Schema
--  Data Dependent Default Schema

o Omission of the type to be resolved by searching.

Default Schema

The attribute type of an attribute may always be present. This may be done to emphasise the type structure of a name. In some cases, the typing may be omitted. This is done in a way so that in many common cases, no attribute types are needed. The following type hierarchy (schema) is assumed:

Common Name, (((Organisational Unit)*,  Organisation,) Country)

Explicitly typed RDNs may be inserted into this hierarchy at any point. The least significant component is always of type Common Name. Other types follow the defined organisational hierarchy. The following are equivalent:

Filestore Access, Bells, Computer Science,
University College London, GB

and

CN=Filestore Access, OU=Bells, OU=Computer Science,
O=University College London, C=GB

To interpet a distinguished name presented in this format, with some or all of the attributes with the type not specified, the types are derived according to the type hierarchy by the following algorithm:

  1. If the first attribute type is not specified, it is
CommonName.
  1. If the last attribute type is not specified, it is Country.

  2. If there is no organisation explicitly specified, the last

attribute with type not specified is of type Organisation.
  1. Any remaining attribute with type unspecified must be before
an Organisation or OrganisationalUnit attribute, and is of
type OrganisationalUnit.

To take a distinguished name, and generate a name of this format with attribute types omitted, the following steps are followed.

  1. If the first attribute is of type CommonName, the type may be omitted.

  2. If the last attribute is of type Country, the type may be omitted.

  3. If the last attribute is of type Country, the last Organisation attribute may have the type omitted.

  4. All attributes of type OrganisationalUnit may have the type omitted, unless they are after an Organisation attribute or the first attribute is of type OrganisationalUnit.

Context Dependent Default Schema

The distinguished name notation defines a fixed schema for type defaulting. It may be useful to have different defaults in different contexts. For example, the defaulting convention may be applied in a modified fashion to objects which are known not to be common name objects. This will always be followed if the least significant component is explicitly typed. In this case, the following hierarchy is followed:

((Organisational Unit)*,  Organisation,) Country

Data Dependent Defaulting

There are cases where it would be optimal to default according to the data. For example, in:

Einar Stefferud, Network Management Associates, CA, US

It would be useful to default "CA" to type State. This might be done by defaulting all two letter attributes under C=US to type State.

General Defaulting

A type may be omitted in cases where it does not follow a default schema hierarchy, and then type variants can be explored by searching. Thus a distinguished name could be represented by a uniquely matching purported name. For example,

James Hacker,
Basingstoke,
Widget Inc,
GB

Would match the distinguished name:

CN=James Hacker,
L=Basingstoke,
O=Widget Inc,
CN=GB

Abbreviation

Some of the more significant components of the DN will be omitted, and then defaulted in some way (e.g., relative to a local context). For example:

Steve Hardcastle-Kille

Could be interpreted in the context of an organisational default.

Local Type Keywords

Local values can be used to identify types, in addition to the keywords defined in [HK93]. For example, "Organisation" may be recognised as an alternative to "O".

Component Omission

An intermediate component of the name may be omitted. Typically this will be an organisational unit. For example:

Steve Hardcastle-Kille, University College London, GB

In some cases, this can be combined with abbreviation. For example:

Steve Hardcastle-Kille, University College London

Approximation

Approximate renditions or alternate values of one or more of the components will be supplied. For example:

Stephen Hardcastle-Kille, CS, UCL, GB

or

Steve Keill, Comp Sci, Univarstiy College London, GB

Friendly Country

A "friendly country name" can be used instead of the ISO 3166 two letter code. For example:

UK; USA; France; Deutchland.