Designing Your Directory Tree
Naming Person Entries
The person entry's name, the DN, must be unique. Traditionally, distinguished
names use the
entry for a person named Babs Jensen might have the distinguished name of:
cn=Babs Jensen,dc=example,dc=com
While allowing you to instantly recognize the person associated with the entry, it
might not be unique in an include people with identical names. This quickly leads
to a problem known as DN name collisions, multiple entries with the same
distinguished name.
You can avoid common name collisions by adding a unique identifier to the
common name. For example:
cn=Babs Jensen+employeeNumber=23,dc=example,dc=com
However, this can lead to awkward common names for large directories and can
be difficult to maintain.
A better method is to identify your person entries with some attribute other than
. Consider using one of the following attributes:
cn
•
uid
Use the
Possibilities include a user login ID or an employee number. A subscriber in a
hosting environment should be identified by the
•
mail
Use the
option can lead to awkward DNs that include duplicate attribute values (for
example:
use this option only if you cannot find some unique value that you can use
with the
of the
user IDs for temporary or contract employees.
•
employeeNumber
For employees of the
assigned attribute value such as
68
Netscape Directory Server Deployment Guide • August 2002
, or
commonName
cn
(
) attribute to specify some unique value of the person.
uid
userID
attribute to contain the value for the person's email address. This
mail
mail=bjensen@example.com, dc=example,dc=com
attribute. For example, you would use the
uid
attribute if your enterprise does not assign employee numbers or
uid
inetOrgPerson
, attribute to name their person entries. That is, an
uid
object class, consider using an employer
.
employeeNumber
attribute.
), so you should
attribute instead
mail
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - DEPLOYMENT and is the answer not in the manual?
Questions and answers