There is a bug in openldap - trying free pointer returned by getenv. Glibc 2.4 detects this and stop running program. Bug and resolving patch was submited to openldap site (http://www.openldap.org/its/index.cgi?findid=4436)
Created attachment 82187 [details, diff] Small patch to repair this bug
going to hold off on this until an openldap dev gives it the OK.
(In reply to comment #2) > going to hold off on this until an openldap dev gives it the OK. > Patch has been applied in HEAD off CVS tree. See http://www.openldap.org/its/index.cgi?findid=4436#followup2
Applying it in 2.2.28-r4 now Thanks for pointing this out