httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S.A. Birl" <sbirl+Apache-L...@concept.temple.edu>
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 (nospam-pthomas@HPTI.com.ns) 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:>
Peter:>  On Solaris, if you omit these options, the configure script for apr-util
Peter:>  will pick up the Solaris LDAP SDK.
Peter:>
Peter:>  > -----Original Message-----
Peter:>  > From: S.A. Birl [mailto:sbirl+Apache-List@concept.temple.edu]
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.





Thanks
 S.A. Birl
 http://concept.temple.edu/

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

Apache archives  http://mail-archives.apache.org/mod_mbox/httpd-users/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message