Upgrading OpenLDAP on CentOS

To be able to access all AD data, you’ll need to upgrade from OpenLDAP 2.2 to OpenLDAP 2.3. Here’s how to do it on CentOS 4.3.

Dustin Puryear

April 27, 2008

1 Min Read
ITPro Today logo in a gray background | ITPro Today

To upgrade from OpenLDAP 2.2 to OpenLDAP 2.3 on CentOS 4.3, you need to update yum, the automatic updater/package installer/remover for RPM systems. Then you’re ready to upgrade your OpenLDAP packages. First, point yum at the CentOS development repository, or repo, by adding these lines to /etc/yum.repos.d/CentOS-Base.repo:

[testing]name=CentOS-$releasever - Testingbaseurl=http://dev.centos.org/centos/
$releasever/testing/$basearch/enabled=1gpgcheck=1gpgkey=http://dev.centos.org/centos/
RPM-GPG-KEY-CentOS-testing

Next, upgrade your OpenLDAP packages using this command:

# yum -y install openldap.i386 openl
dap-clients.i386 openldap-devel.i386  openldap-servers.i386

Upgrading may take a while, as yum needs to update all packages related to OpenLDAP as well.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like