The following sections present advanced topics that enable you to use LDAP directories more effectively.
LDAP attribute values can contain commas. The cfldap
tag normally uses commas to separate attribute values in a value list. Similarly, an attribute can contain a semicolon, which cfldap
normally uses to delimit (separate) attributes in an attribute list. To override the default separator and delimiter characters, you use the cfldap
tag separator
and delimiter
attributes.
For example, assume you want to add the following attributes to an LDAP entry:
cn=Proctor, Goodman, and Jones description=Friends of the company; Rationalists
Use the cfldap
tag in the following way:
<cfldap action="modify" modifyType="add" attributes="cn=Proctor, Goodman, and Jones: description=Friends
of the company; Rationalists" dn="uid=goodco, ou=People, o=Airius.com" separator="&" delimiter=":" server=#myServer# username=#myUserName# password=#myPassword#>