configure ldap domain base-dn

configure ldap {domain [domain_name | all]} base-dn [base_dn | none | default

Description

Configures the LDAP base-dn to be used while searching an user under an LDAP domain.

Syntax Description

domain_name

Specifies the LDAP domain for which this base-dn is to be configured.

base_dn

Specifies the LDAP base domain under which the users are to be searched.

none

Specifies the LDAP root domain as the location under which the users are to be searched.

default

Restores the base_dn to it default value i.e., same as the domain name.

Default

By default base-dn is assumed to be the same as the domain name unless configured otherwise.

If a domain is not specified, the base-dn is configured for the default domain.

Usage Guidelines

LDAP base-dn is the LDAP directory root under which the users are to be searched. By default base-dn is assumed to be the same as the domain name.

For users upgrading from ExtremeXOS 15.1 and older versions, a domain is created with the same name as the base-dn in the older configuration. This domain is marked as the default domain. This can be changed later if required.

Example

The following commands configure the base-dn for the domain sales.XYZCorp.com.

The base-dn configured as XYZCorp.com means that XYZCorp.com is the base location to search for user information.

* Switch.11 # configure ldap domain sales.XYZCorp.com base-dn XYZCorp.com

The base-dn configured as none means that the directory root is the base location to search for user information.

* Switch.12 # configure ldap domain sales.XYZCorp.com base-dn none

History

This command was first available in ExtremeXOS 12.5.

This command was modified in ExtremeXOS 15.2 to add the {domain [domain_name | all]} option.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.