Installing OpenLDAP

OpenLDAP software is an open source implementation of Lightweight Directory Access Protocol. This can be obtained from the site: www.openldap.org. To install OpenLDAP packages:

  1. Verify the Red Hat Linux installed releases.

    The release number is stored in the /etc/redhat-release file.

  2. Verify the version of OpenLDAP currently installed by entering the command rpm -qa | grep openldap at the Linux prompt.
    # rpm -qa |grep openldap
    openldap-2.3.xx-x
    openldap-clients-2.3.xx-x
    openldap-servers-2.3.xx-x
  3. If you have a default Red Hat Linux installation, there is at least one OpenLDAP Red Hat Package Manager (RPM) installed.

    The LDAP RPMs can be found on the Red Hat CD or downloaded from one of the following RPM download sources:

    www.rpmfind.net and search for openldap and select the RPM based on the distribution

    www.redhat.com and select Download, and then search for openldap.

  4. After downloading the RPMs to the Linux server, change to the download directory and start the installation using the rpm command:
    # rpm -ivh openldap*
  5. Verify that the OpenLDAP RPMs have been installed with the rpm -qa | grep openldap command at the Linux prompt.
    # rpm -qa | grep openldap
    openldap-2.3.xx-x
    openldap-clients-2.3.xx-x
    openldap-servers-2.3.xx-x