ldap-prefix
This command specifies the LDAP prefix to add to the user name to form the DN.
Syntax
ldap-prefix prefix
Parameters
- prefix
- Specifies an LDAP prefix.
Guidelines
The ldap-prefix command specifies the string to add as a prefix to the user name to form the distinguished name (DN) for LDAP authentication. The LDAP prefix and the user name are separated with a comma, and both are included within quotation marks.
If the LDAP prefix is cn=
and the user name is Bob Smith
, the
beginning portion of the DN is cn=Bob Smith
.
This command is relevant only when the au-ldap-search command is
off
.
Example
Set the LDAP prefix to
cn=
. # ldap-prefix "cn="