Search-Scope - HP 6125XLG Command Reference Manual

Blade switch security command reference
Table of Contents

Advertisement

Default
No base DN is specified for user search.
Views
LDAP server view
Predefined user roles
network-admin
Parameters
base-dn: Specifies the base DN for user search, a case-insensitive string of 1 to 255 characters.
Examples
# Specify the base DN for user search as dc=ldap,dc=com.
<Sysname> system-view
[Sysname] ldap server ccc
[Sysname-ldap-server-ccc] search-base-dn dc=ldap,dc=com
Related commands
display ldap scheme
ldap server

search-scope

Use search-scope to specify the user search scope.
Use undo search-scope to restore the default.
Syntax
search-scope { all-level | single-level }
undo search-scope
Default
The user search scope is all-level.
Views
LDAP server view
Predefined user roles
network-admin
Parameters
all-level: Specifies that the search goes through all sub-directories of the base DN.
single-level: Specifies that the search goes through only the next lower level of sub-directories under the
base DN.
Examples
# Specify the search scope for the LDAP authentication as all sub-directories of the base DN.
<Sysname> system-view
[Sysname] ldap server ccc
[Sysname-ldap-server-ccc] search-scope all-level
83

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents