httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S.A. Birl" <>
Subject [users@httpd] RE: Finally resolved: RHEL5, Apache 2.2.15, mod_authnz_ldap.c -- applies to Solaris, too
Date Fri, 19 Mar 2010 14:02:42 GMT
On Mar 18, 2010, Thomas, Peter ( typed:

Peter:>  This doesn't apply only to RHEL5.  Add "--with-ldap-lib=<openldap
Peter:>  install base>/lib and --with-ldap-include=<openldap install
Peter:>  base>/include" if you want to use OpenLDAP instead of the Solaris LDAP
Peter:>  SDK.
Peter:>  On Solaris, if you omit these options, the configure script for apr-util
Peter:>  will pick up the Solaris LDAP SDK.
Peter:>  > -----Original Message-----
Peter:>  > From: S.A. Birl []
Peter:>  > Sent: Wednesday, March 17, 2010 5:32 PM
Peter:>  > This is what I needed in ./configure for proper LDAP support:
Peter:>  >
Peter:>  > ./configure --enable-authnz-ldap --with-ldap --enable-ldap
Peter:>  > --with-included-apr  --with-ldap-lib=/usr/local/lib
Peter:>  > --with-ldap-include=/usr/local/include

Good to know, and Ive made a note of it for future reference.
Two things I found odd about the whole thing though:

1) I used the same ./configure options in RHEL4 and it worked with whatever LDAP
   comes with it.  But I had to specify the 'lib' and 'include' options in RHEL5
   (Not to mention I did not have to use the included apr in RHEL4)

2) Prior to using the 'lib' and 'include' options in RHEL5, the error_log
   kept stating "Unknown Authn provider: ldap" -- even though it was compiled
   in and visible via "httpd -l".  A bit misleading.

 S.A. Birl

Please do not CC me responses to my own posts. I'll read the responses
from the list.

Apache archives

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message