Specifying an authentication timeout

By default, LDAP authentication requests have a timeout of 300 seconds. If the LDAP server requires more time to respond to requests in your environment, you can change the timeout settings for your system by using a postgresql.conf setting.

About this task

To change the authentication timeout, complete the following steps:

Procedure

  1. Use a standard editor and open the configuration file /nz/data/postgresql.conf.
  2. Search for an existing definition for the auth_timeout variable.
  3. If the auth_timeout variable is defined in the file, change the value to the number of seconds that you want to use for the timeout. Otherwise, you can define the variable by adding the following line to the file. Add the line to the Security Settings section of the file.
    auth_timeout = number_of_seconds
    
  4. Save your changes.
  5. Restart the system for your changes to take effect.