Creates or updates the LDAP
(Lightweight Directory Access Protocol) configuration.
Syntax
After the ldap-service
command is entered to enable the LDAP configuration mode, the following
configuration syntax is available:
[admin-domain-name
admin-domain |admin-password
admin-password |
base-domain-name
base-domain |description
text |friendly-name
friendly-name
||
group-attrs
attr-value |ip-address
ip-addresskey-attr
key-attribute |no
group-attrs |port
port-numbersearch-filter
search-filter]
Command Default
The LDAP (Lightweight Directory
Access Protocol) service settings are not configured.
Parameters
- name
name
- Sets the LDAP service name.
- admin-domain-name
admin-domain
- Creates or updates the admin domain. For example, cn=admin, dc=ldap,
dc=com.
- admin-password
admin-password
- Creates or updates the admin password.
- base-domain
base-domain
- Creates or updates the base domain. For example, dc=ldap,dc=com
- description
text
- Sets the description of the
LDAP service for the user.
- friendly-name
friendly-name
- Sets the LDAP service
friendly name.
- ip-address
ip-address
- Sets the IP address for the primary server.
- key-attr
key-attribute
- Sets the key attribute to denote users. For example, default: uid.
- no
group-attrs
- Disables group attributes.
- port
number
- Sets the port for the primary
server. Default port number is 389.
- search-filter
search-filter
- Sets the search filter.
Example, (objectClass=Person, show more...)
Modes
Global configuration mode
Usage Guidelines
This command is supported on all
SmartZone platforms except SmartZone Data Plane controller.
Admin domain name : To query multiple organizational units, enter an admin
domain name and -password with full search and read privileges.(example:
uid=admin,dc=ldap,dc=com).
Examples
The following example configures
an active LDAP service configuration mode.
device# config
device(config)# ldap-service lds
device(config-ldap-service)#
The following example sets the
port for the primary server in LDAP service configuration mode.
device# config
device(config)# ldap-service lds
device(config-ldap-service)# port 1