Hi All,
Here's my 10th tip in the "OpenLDAP Quick Tips" series:
"You want to stay up to date with the latest version of OpenLDAP to benefit from bug fixes":
There's never been a better time to upgrade to the
2.4 series. It's actually very easy. If there haven't been any significant core changes between releases (excluding a
2.3.x to 2.4.x upgrade), then you can easily just install a new version on top of the existing one and restart.
If there has been a Berkeley DB change or any form data storage change (indexing etc.) then you should follow these steps:
1. Stop the current server when convenient
2.
slapcat the current data out
3. Clear out the current data directory (/usr/local/var/openldap-data/) leaving
DB_CONFIG in place
4. Perform the software upgrades
5.
slapadd the exported data back into the directory
6. Start the server
It is recommended to do the above anyway, just to make sure as you can always start fresh with exported data.
Obviously this doesn't cater for any complicated deployments like
MirrorMode or
N-Way Multi-Master, but should you need advice or help, you can use either
commercial support or
community support to help you....or
contact Suretec.
Thanks,
Gavin.
If you have an entry for our "OpenLDAP Quick Tips" series, why not e-mail your tip to us.
P.S. For direct access to this section, you can click
OpenLDAP Quick Tips.