URL format

LDAP://[user:pass@]host[:port]/[rdn[?attr[?scope[?filter]]]]
Option
Description
user
Specify the user name to connect to the LDAP server.
pass
Specify the password that authenticates the user name.
host
Specify the LDAP server name or address. The default name is localhost.
port
Specify the LDAP server port number. The default port name is 389.
rdn
Specify the LDAP distinguished names. rdn is used during LDAP search operations. For add, replace, and modify operations it is optional.

You can find examples of distinguished name abbreviations and formats in RFC 1779. Examples of distinguished name abbreviations include CN (common name), O (organization), and C (country). The following examples are from the RFC:

CN=Christian Huitema, O=INRIA, C=FR CN=Christian Huitema; O=INRIA; C=FR

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

OU=Sales + CN=J. Smith, O=Widget Inc., C=US

CN=L. Eagle, O="Sue, Grabbit and Runn", C=GB

CN=L. Eagle, O=Sue, Grabbit and Runn, C=GB

attr
Specify the search attributes. attr is used during LDAP search operations. For add, replace, and modify operations, it is optional. This might be a single value or a comma-separated list.
scope
Specify the scope of the search. The default scope is base. Use this option only during an LDAP search operation. It is only valid when it is used in theGET > Source > Command setting.

The scope options are:

  • base - indicates a base object search
  • one - indicates a single-level search
  • sub - indicates a subtree search
filter
Specify the search filter as defined in RFC 1558. For example:

(!(cn=Tim Howes))

returns any common name except Tim Howes.