nv show system aaa ldap
|
|
nv show system aaa ldap Shows the LDAP configuration. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002
25.02.3000 Updated command output
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/ldap |
|
|
Related Commands |
nv set system aaa ldap |
|
|
Notes |
The switch acts as an LDAP client. When you bind it to an LDAP server, users authenticate through the LDAP server instead of locally. |
|
nv show system aaa ldap server
|
|
nv show system aaa ldap server Shows the configured LDAP servers. |
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002
25.02.3000 Updated command syntax
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/aaa/ldap/server |
|
|
Related Commands |
nv set system aaa ldap server |
|
|
Notes |
|
|
nv set system aaa ldap server id
|
|
nv set system aaa ldap server <server-id> Configures an LDAP server. |
|
|
Syntax Description |
server-id |
LDAP server ID: ipv4, ipv4-unicas, idn-hostname, ipv6 |
|
Default |
N/A |
|
|
History |
25.02.2002
25.02.3000 Updated command syntax
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/server/<server-id> |
|
|
Related Commands |
nv show system aaa ldap server <server-id>
|
|
|
Notes |
|
|
nv set system aaa ldap server priority
|
|
nv set system aaa ldap server <server-id> priority <1–8> Sets the priority of an LDAP server. Lower numbers come first. |
|
|
Syntax Description |
server-id |
LDAP server ID: ipv4, ipv4-unicast, idn-hostname, ipv6 |
|
priority |
Integer: 1–8 |
|
|
Default |
1 |
|
|
History |
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/server/<server-id>/priority |
|
|
Related Commands |
nv show system aaa ldap server |
|
|
Notes |
|
|
nv set system aaa ldap base-dn
|
|
nv set system aaa ldap base-dn <base-dn> Sets the base DN (distinguished name) where LDAP searches start. |
|
|
Syntax Description |
base-dn |
The base DN. |
|
Default |
ou=users,dc=example,dc=com |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/base-dn |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
The base DN is the point in the directory where the search for users starts. |
|
nv set system aaa ldap bind-dn
|
|
nv set system aaa ldap bind-dn <bind-dn> Sets the bind DN that the switch uses to bind to the LDAP server. |
|
|
Syntax Description |
bind-dn |
The bind DN. |
|
Default |
None |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/bind-dn |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
The bind DN is the user name that the switch uses to search the directory and request authentication. |
|
nv set system aaa ldap port
|
|
nv set system aaa ldap port <1–65535> Sets the LDAP server port. |
|
|
Syntax Description |
port |
Integer: 1–65535 |
|
Default |
389 |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/port |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap timeout-bind
|
|
nv set system aaa ldap timeout-bind <seconds> Sets the number of seconds to wait for a bind to complete. |
|
|
Syntax Description |
seconds |
1–60 |
|
Default |
5 |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/timeout-bind |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap timeout-search
|
|
nv set system aaa ldap timeout-search <seconds> Sets the number of seconds to wait for a search to complete. |
|
|
Syntax Description |
seconds |
1–60 |
|
Default |
5 |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/timeout-search |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap secret
|
|
nv set system aaa ldap secret <secret-value> Sets the password (secret) for the bind DN. You enter it in clear text; the switch stores it encrypted. |
|
|
Syntax Description |
secret-value |
Secret string |
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/secret |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap filter passwd
|
|
nv set system aaa ldap filter passwd <filter> Sets the LDAP search filter for the passwd database. Enclose the filter in quotation marks. |
|
|
Syntax Description |
filter |
LDAP search filter (string) |
|
Default |
(objectClass=posixAccount) |
|
|
History |
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/filter/passwd |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap filter group
|
|
nv set system aaa ldap filter group <filter> Sets the LDAP search filter for the group database. Enclose the filter in quotation marks. |
|
|
Syntax Description |
filter |
LDAP search filter (string) |
|
Default |
(objectClass=posixGroup) |
|
|
History |
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/filter/group |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap filter shadow
|
|
nv set system aaa ldap filter shadow <filter> Sets the LDAP search filter for the shadow database. Enclose the filter in quotation marks. |
|
|
Syntax Description |
filter |
LDAP search filter (string) |
|
Default |
(objectClass=shadowAccount) |
|
|
History |
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/filter/shadow |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap map group cn
|
|
nv set system aaa ldap map group cn <cn-str> Sets the LDAP attribute that maps to cn in the group database. |
|
|
Syntax Description |
cn-str |
LDAP attribute name (string) |
|
Default |
None |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/map/group/cn |
|
|
Related Commands |
nv show system aaa ldap map group |
|
|
Notes |
|
|
nv set system aaa ldap map group gidnumber
|
|
nv set system aaa ldap map group gidnumber <gidnumber> Sets the LDAP attribute that maps to gidNumber in the group database. |
|
|
Syntax Description |
gidnumber |
LDAP attribute name (string) |
|
Default |
None |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/map/group/gidnumber |
|
|
Related Commands |
nv show system aaa ldap map group |
|
|
Notes |
|
|
nv set system aaa ldap map group memberuid
|
|
nv set system aaa ldap map group memberuid <memberuid> Sets the LDAP attribute that maps to memberUid in the group database. |
|
|
Syntax Description |
memberuid |
LDAP attribute name (string) |
|
Default |
None |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/map/group/memberuid |
|
|
Related Commands |
nv show system aaa ldap map group |
|
|
Notes |
|
|
nv set/unset system aaa ldap map passwd gidnumber
|
|
nv set system aaa ldap map passwd gidnumber <gidnumber>
Sets the LDAP attribute that maps to gidNumber in the passwd database. |
|
|
Syntax Description |
gidnumber |
LDAP attribute name (string) |
|
Default |
None |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/map/passwd/gidnumber |
|
|
Related Commands |
nv show system aaa ldap map passwd |
|
|
Notes |
|
|
nv set system aaa ldap map passwd uid
|
|
nv set system aaa ldap map passwd uid <uid> Sets the LDAP attribute that maps to uid in the passwd database. |
|
|
Syntax Description |
uid |
LDAP attribute name (string) |
|
Default |
None |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/map/passwd/uid |
|
|
Related Commands |
nv show system aaa ldap map passwd |
|
|
Notes |
|
|
nv set system aaa ldap map passwd uidnumber
|
|
nv set system aaa ldap map passwd uidnumber <uidnumber> Sets the LDAP attribute that maps to uidNumber in the passwd database. |
|
|
Syntax Description |
uidnumber |
LDAP attribute name (string) |
|
Default |
None |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/map/passwd/uidnumber |
|
|
Related Commands |
nv show system aaa ldap map passwd |
|
|
Notes |
|
|
nv set system aaa ldap map passwd userpassword
|
|
nv set system aaa ldap map passwd userpassword <userpassword> Sets the LDAP attribute that maps to userPassword in the passwd database. |
|
|
Syntax Description |
userpassword |
LDAP attribute name (string) |
|
Default |
None |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/map/passwd/userpassword |
|
|
Related Commands |
nv show system aaa ldap map passwd |
|
|
Notes |
|
|
nv set system aaa ldap version
|
|
nv set system aaa ldap version <ldap-version> Sets the LDAP protocol version. |
|
|
Syntax Description |
ldap-version |
2 or 3 |
|
Default |
3 |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/version |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap ssl mode
|
|
nv set system aaa ldap ssl mode <ssl-mode> Sets the security mode of the connection to the LDAP server. |
|
|
Syntax Description |
ssl-mode |
none, ssl, start-tls |
|
Default |
none |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/ssl/mode |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap ssl cert-verify
|
|
nv set system aaa ldap ssl cert-verify <enabled | disabled> Sets whether the switch validates the LDAP server certificate. |
|
|
Syntax Description
|
enabled |
Validates certificate
|
|
disabled |
Skips certificate validation |
|
|
Default |
enabled |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/ssl/cert-verify |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap ssl port
|
|
nv set system aaa ldap ssl port <1–65535> Sets the LDAP port for SSL connections. |
|
|
Syntax Description |
port |
Integer: 1–65535 |
|
Default |
636 |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/ssl/port |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
nv set system aaa ldap ssl tls-ciphers
|
|
nv set system aaa ldap ssl tls-ciphers <TLS1.2 | TLS1.3 | all> Sets the TLS version for SSL connections to the LDAP server. |
|
|
Syntax Description |
TLS1.2 |
TLS 1.2 only |
|
TLS1.3 |
TLS 1.3 only |
|
|
all |
TLS 1.2 and TLS 1.3 |
|
|
Default |
all |
|
|
History |
|
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/aaa/ldap/ssl/tls-ciphers |
|
|
Related Commands |
nv show system aaa ldap |
|
|
Notes |
|
|
Last updated: