Reduce logon timeout delays

If the primary AD server is down then it can cause significant delays logging into Smile. This can be improved by adjusting settings which will drop that delay down to under 15 seconds, or less than 5 seconds if using /etc/hosts.

This task explains how to reduce login delay timeouts.

  1. Do one of the following at the command line:
    • Set options timeout:1 in /etc/resolv.conf. If using resolvconf then add it to /etc/resolvconf/resolv.conf.d/tail.
      echo "options timeout:1" >> /etc/resolvconf/resolv.conf.d/tail
    • Define your LDAP servers in /etc/hosts. This method is about 10 seconds faster than setting the timeout to 1 second in resolv.conf.

      /etc/hosts

      192.0.2.190	DC1.example.intranet
      192.0.2.195	DC2.example.intranet
  2. Edit the ldap.timeout.millis LDAP property in the Smile Access Authentication Configuration Properties list to 3000 (3 seconds).