beautypg.com

Configuring the ip address of the ldap server, Specifying the ldap version, Setting the ldap server timeout period – H3C Technologies H3C S6300 Series Switches User Manual

Page 54: Configuring administrator attributes

background image

39

Configuring the IP address of the LDAP server

Step Command

Remarks

1.

Enter system view.

System-view

N/A

2.

Enter LDAP server view.

ldap server server-name

N/A

3.

Configure the IP address of
the LDAP server.

{ ip ip-address | ipv6
ipv6-address } [ port port-number ]

By default, an LDAP server has no
IP address.
You can configure either an IPv4
address or an IPv6 address for an

LDAP server. The most recent

configuration takes effect.

Specifying the LDAP version

Specify the LDAP version on the NAS. The device supports LDAPv2 and LDAPv3. The LDAP version

specified on the device must be consistent with the version specified on the LDAP server.
To specify the LDAP version:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter LDAP server view.

ldap server server-name N/A

3.

Specify the LDAP version.

protocol-version { v2 | v3 }

By default, LDAPv3 is used.
A Microsoft LDAP server supports only
LDAPv3.

Setting the LDAP server timeout period

If the device sends a bind or search request to an LDAP server without receiving the server's response

within the server timeout period, the authentication or authorization request times out. Then, the device

tries the backup authentication or authorization method. If no backup method is configured in the ISP
domain, the device considers the authentication or authorization attempt a failure.
To set the LDAP server timeout period:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter LDAP server view.

ldap server server-name N/A

3.

Set the LDAP server timeout
period.

server-timeout time-interval

By default, the LDAP server timeout
period is 10 seconds.

Configuring administrator attributes

To configure the administrator DN and password for binding with the LDAP server during LDAP

authentication:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter LDAP server view.

ldap server server-name N/A