LDAP Connection Pool

Novell® Kerberos KDC uses LDAP to access eDirectoryTM. This means that whenever the eDirectory or LDAP services are down or are restarted for maintenance purpose, the Novell Kerberos KDC services get affected. Additionally, the Novell Kerberos KDC services need to be restarted manually whenever the eDirectory or LDAP services are restored.

Novell Kerberos KDC provides a mechanism to overcome this problem as follows:

The list of LDAP servers and number of connections per server can be set in /etc/krb5.conf file.


Configuring LDAP Connection Pool

To configure LDAP connection, you need to set the following:

Novell Kerberos KDC services read the database-specific parameters from the /etc/krb5.conf configuration file. You can provide these parameters at the command line too. This helps the administrator to avoid frequent modification of the configuration file and to modify the options even without write permissions on the configuration file. Additionally, many server requests with different parameter values on a single machine are also possible.


Setting the LDAP Servers List

You can set up the LDAP servers using any of the following methods:

The list of the LDAP servers that the Novell Kerberos KDC server tries to connect is defined by the ldap_servers parameter in the /etc/krb5.conf file.

  • Configuration File

    Use the ldap_servers parameter in the /etc/krb5.conf file as follows:

    		ldap_servers = ldap-server1.mit.edu ldap-server2.mit.edu:1636
  • Command Line

    Use the following command line option to set the list of LDAP servers that the Kerberos service (KDC, Administration, and Password) should connect to.

    -x host=hostname:port


Setting Number of Connections Per Server

If a Kerberos Service, such as KDC, consumes the Database service from multiple LDAP servers then the attribute ldap_conns_per_server in the /etc/krb5.conf is set to an optimum value so that the database operation load is distributed to multiple servers.

Multiple secure (SSL) connections can be established with every LDAP server on need basis.

You can set up the number of LDAP connections per server using any of the following methods:

  • Configuration File

    Use the ldap_conns_per_server parameter in the /etc/krb5.conf file as follows:

    ldap_conns_per_server = 5
  • Command Line

    Use the following command line option to limit the number of LDAP connections that the Kerberos service (KDC, Administration, and Password) should use:

    -x nconns=value