OpenLDAP: Proxychache bug
Hello, We discovered a bug in SuSE's OpenLDAP RPM (openldap2-2.2.24-4.5). The previous version (openldap2-2.2.6-37.38) was fine. The bug is that the overlay proxycache is not working, the errors logged to /var/log/messages look like this: Oct 5 12:36:03 node6 slapd[5924]: @(#) $OpenLDAP: slapd 2.2.24 (May 31 2005 14:48:12) $ abuild@nielsen:/usr/src/packages/BUILD/openldap-2.2.24/servers/slapd Oct 5 12:36:46 node6 slapd[5984]: @(#) $OpenLDAP: slapd 2.2.24 (May 31 2005 14:48:12) $ abuild@nielsen:/usr/src/packages/BUILD/openldap-2.2.24/servers/slapd Oct 5 12:36:46 node6 slapd[5984]: overlay proxycache not found Oct 5 12:36:46 node6 slapd[5984]: slapd stopped. Oct 5 12:36:46 node6 slapd[5984]: connections_destroy: nothing to destroy. As it turns out, the 'configure' script in the source tar-ball (from the source RPM) had the proxycache option changed: it used to be called --with-proxycache in previous releases, now it's called --enable-proxycache. The SPEC file for the RPM was not updated accordingly (still using --with-proxycache), hence the slapd provided in Service Pack 2 does not have proxycache support compiled in. The fix to this problem is attached. After rebuilding the RPM myself with the change in place, everything was working again as expected. -Markus -- Markus Mayer Linux Team Cray Canada Inc. --- openldap2.spec~ 2005-05-31 07:42:22.000000000 -0700 +++ openldap2.spec 2005-10-05 16:22:38.217690964 -0700 @@ -143,7 +143,7 @@ --enable-slp \ --enable-lmpasswd \ --with-dyngroup \ - --with-proxycache + --enable-proxycache make depend make # calculate the base port to use in the test-suite
participants (1)
-
Markus Mayer