Change connection settings for an LDAP or Open Directory server in Directory Utility on Mac
You can use Directory Utility to change the connection settings of a configuration that specifies how the computer accesses an LDAPv3, LDAPv2, or Open Directory server.
In the Directory Utility app on your Mac, click Services.
Click the lock icon.
Enter an administrator’s user name and password, then click Modify Configuration (or use Touch ID).
Select LDAPv3, then click the “Edit settings for the selected service” button .
If the list of server configurations is hidden, click the disclosure triangle next to Show Options.
Select a server configuration, then click Edit.
Click Connection, then change any of the following settings:
Configuration Name: Identifies this configuration in the list of LDAP directory configurations. (You can also change the name in the list of LDAP directory configurations.)
Server Name or IP Address: Specifies the server’s DNS host name or its IP address. (You can also change this in the list of LDAP directory configurations.)
Open/close times out in: Specifies the maximum length of time a connection attempt can last before the attempt is canceled.
Query times out in: Specifies the maximum length of time a query can last before the query is canceled.
Re-bind attempted in: Specifies the number of seconds to wait before attempting to reconnect if the LDAP server fails to respond. To prevent continuous reconnection attempts, increase this value.
Connection idles out in: Specifies the number of minutes to permit an idle or unresponsive connection to remain open.
Encrypt using SSL: Determines whether to encrypt communications with the LDAP directory by using an SSL connection. (You can also change this setting in the list of LDAP directory configurations.) Before you select SSL, ask your Open Directory administrator if SSL is needed.
Use custom port: Specifies a port number other than the standard port for LDAP connections (389 without SSL, 636 with SSL).