RE: Finally resolved: RHEL5, Apache 2.2.15, mod_authnz_ldap.c -- applies to Solaris, too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar 18, 2010, Thomas, Peter (nospam-pthomas@xxxxxxxxxxx) 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@xxxxxxxxxxxxxxxxxx]
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux