Configures the LDAP base-dn to be used while searching an user under an LDAP domain.
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. |
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.
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 EXOS 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.
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
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.
This command is available on all platforms.