153
Syntax
search-base-dn base-dn
undo search-base-dn
Default
No base DN is specified for user search.
Views
LDAP server view
Predefined user roles
network-admin
mdc-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
for LDAP server
ccc
.
<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
mdc-admin
Parameters
all-level
: Specifies that the search goes through all subdirectories of the base DN.
single-level
: Specifies that the search goes through only the next lower level of subdirectories under
the base DN.