Operation Manual

Vigor2926 Series User’s Guide
782
S
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
Parameter Description
INDEX Specify the index number (1 to 8) of the LDAP profile.
OPTION
-n VALUE Setup Profile Name.
-b VALUE Setup Base Distinguished Name.
-a VALUE If you have added containers to be published, you may need to
specify additional LDAP filters for each class of objects included in
these containers.
Creating LDAP filters is a fairly complex task that should be
performed by advanced users only. LDAP filters must be
RFC2254-compliant.
For example, to exclude from publication all users who either
belong to the HR department of your company or are members of
the HR Group. For example:
>ldap user 1 -a
"(!(|(department=HR)(memberOf=CN=HRGroup,OU=Groups,
DC=acme,DC=com)))"
Additional Filter has been updated.
-g VALUE Setup Group Distinguished Name.
-c VALUE Setup Common Name Identifier.
-v View detail information of the LDAP profile.
E
E
x
x
a
a
m
m
p
p
l
l
e
e
>ldap user 1 -n LD_user_test1
Profile Name has been updated!
> ldap user 1 -v
Profile Index:1
Profile Name:LD_user_test1
Common Name Identifier:
Base Distinguished Name:
Additional Filter:
Group distinguished Name:
>ldap user 1 -b ou=People,dc=example,dc=com
T
T
e
e
l
l
n
n
e
e
t
t
C
C
o
o
m
m
m
m
a
a
n
n
d
d
:
:
l
l
d
d
a
a
p
p
s
s
e
e
t
t
This command is used to set general settings (e.g., IP address, port number) for LDAP server.
S
S
y
y
n
n
t
t
a
a
x
x
ldap set [Options][Value]
S
S
y
y
n
n
t
t
a
a
x
x
D
D
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
Parameter Description
enable [0-1] Enable or disable LDAP function.
0 – Disable the function.
1 – Enable the function.
type [0-2] Set the bind type as Simple(0),Anonymous(1), and Regular(2).
ssl [0-1] Enable or disable LDAP function via SSL tunnel.
0 – Disable the function.
1 – Enable the function.