Configuring the LDAP Server List (CLI)
- Go to
configuration services ldap
. - Enter the
list
command to show existing LDAP servers. -
Configure the list.
-
If you plan to have more than one server in the list, decide whether you want the servers to be tried in a particular order. If the servers should be tried in the order in which they are specified in the
servers
property, set theuse_server_order
property totrue
. By default, the value of theuse_server_order
property isfalse
. For more information about how the servers are used, see table "LDAP Server Properties" in LDAP Properties. -
Check the value of the
servers
property.hostname:configuration services ldap> get servers servers = ldap-server2.us.example.com:484,ldap-server1.us.example.com:636
-
To add, remove, or reorder servers in the list, reset the value of the
servers
property. The following example reorders the list:hostname:configuration services ldap> set servers=ldap-server1.us.example.com:636,ldap-server2.us.example.com:484
-
- Enter
commit
.
Related Topics
-
"LDAP Server Properties" table in LDAP Properties