Adobe COLDFUSION 9 Manual page 457

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Accessing and Using Data
Keyword
Long name
sn
SurName
dc
domaincomponent
mail
mail
For more information, see
"Attribute
Distinguished name (DN)
An entry's distinguished name uniquely identifies it in the directory. A DN is made up of relative distinguished names
(RDNs). An RDN identifies the entry among the children of its parent entry. For example, in the first image in
LDAP, the RDN for the Ferrari entry is "o=Ferrari".
An entry's DN consists of an entry's RDN followed by the DN of its parent. In other words, it consists of the RDNs for
the entry and each of the entry's parent entries, up to the root of the directory tree. Commas and optional spaces
separate the RDNs. For example, in the first image, the DN for the Ferrari entry is "o=Ferrari, c=Italy".
As with file system paths and URLs, entering the correct LDAP name format is essential to successful search
operations.
Note: The RDN is an attribute of a directory entry. The full DN is not. However, you can output the full DN by specifying
"dn" in a query's
attributes
returns DNs with spaces after the commas.
A multivalued RDN is made up of more than one attribute-value pair. In multivalued RDNs, a plus sign (+) separates
the attribute-value pairs. In the sample directories, individuals could have complex RDNs consisting of their common
name and their e-mail address, for example, "cn=Robert Boyd + mail=rjboyd@adobe.com".
Schema
The concepts of schemas and object classes are central to a thorough understanding of LDAP. The information
provided here does not have detailed descriptions but is enough to use the cfldap tag effectively.
A directory schema is a set of rules that determines what can be stored in a directory. It defines, at a minimum, the
following two basic directory characteristics:
• The object classes to which entries can belong
• The directory attribute types
Object class
Object classes enable LDAP to group related information. Frequently, an object class corresponds to a real object or
concept, such as a country, person, room, or domain, which are all standard object type names. Each entry in an LDAP
directory must belong to one or more object classes.
The following characteristics define an object class:
• The class name
• A unique object ID that identifies the class
• The attribute types that entries of the class must contain
• The attribute types that entries of the class can optionally contain
• (Optional) A superior class from which the class is derived
Comment
E-mail address
type" on page 453.
list. For more information, see
Last updated 8/5/2010
in CFML Reference. Adobe ColdFusion always
cfldap
452
About

Advertisement

Table of Contents
loading

Table of Contents