httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satya Samala <ssam...@us.ibm.com>
Subject Re: [users@httpd] ldap & authnz_ldap modules
Date Tue, 24 Jan 2012 15:56:49 GMT
Much Thanks Igor!! You are just awesome. I just followed the steps 1 & 2 
as you suggested and it worked!!!

Thanks again!

Regards



Satya N R Samala
 700 Locust St

WebSphere Middleware Engineer
 Dubuque, 52001-6838
WME Dubuque GDF Primary Pool3
 United States
LHDF
 

A4
 

Phone:
+1-563-845-5005
 

e-mail:
ssamala@us.ibm.com
 

Requests for services or inquiries should contact Dispatcher for work to 
be routed. wmedbqp3@us.ibm.com
 
 




From:
Igor Cicimov <icicimov@gmail.com>
To:
users@httpd.apache.org
Date:
01/23/2012 07:28 PM
Subject:
Re: [users@httpd] ldap & authnz_ldap modules



1. Use rpm or dpkg to check if you have them installed. For eg:

# rpm -qa | grep ldap
openldap-clients-2.3.43-12.el5_5.2
openldap-devel-2.3.43-12.el5_5.2
openldap-2.3.43-12.el5_5.2
openldap-servers-2.3.43-12.el5_5.2

for Debian/Ubuntu use dpkg for example:

# dpkg -l | grep ldap

If nothing comes up you need to install the ldap packages available to 
your distro like openldap-clients and openldap-devel. If you need to run 
LDAP server then install openldap-servers package too. Note that the 
package names differ from distro to distro.

2. This is what I use to compile apache with LDAP support
--with-ldap=ldap --with-ldap-lib=/usr/lib64 
--with-ldap-include=/usr/include --enable-ldap  --enable-authnz-ldap

adjust the paths according to your installation. To find the paths on your 
installation run something like this:

# rpm -ql openldap-clients
OR
# dpkg -s <package-name-here>

I have only RedHat available at the moment so can't provide dpkg outputs. 
Also the example is given assuming the LDAP of your choice is OpenLDAP.

Igor


On Tue, Jan 24, 2012 at 9:53 AM, Satya Samala <ssamala@us.ibm.com> wrote:
Thanks Eric for the quick response.  I didn't find anything on this in the 
config.log. 
1.  How to do verify if my server has this library? Any commands to verify 
it? 
2.  And how do I tell Apache to find this Ldap library, if it exists on my 
server. 

Regards 
SS 


From: 
Eric Covener <covener@gmail.com> 
To: 
users@httpd.apache.org 
Date: 
01/23/2012 04:31 PM 
Subject: 
Re: [users@httpd] ldap & authnz_ldap modules




On Mon, Jan 23, 2012 at 5:27 PM, Satya Samala <ssamala@us.ibm.com> wrote:
>
> Hi
>
> I'm trying to configure these two modules mod_ldap and mod_authnz_ldap 
and I noticed the below error. I did check on google & other forums but 
couldn't find any solution to this.
>
> ./configure --prefix=/opt/Apache_lb01 --with-ldap --with-included-apr 
 --enable-so --enable-mods-shared="all ldap authnz_ldap " 
--with-mpm=worker
>
> Error:
> configure: error: could not find an LDAP library
> configure failed for srclib/apr-util

You need an LDAP client library and corresponding -dev headers.
apr-util's config.log will show you what autoconf tests are going on
to try to find one.

---------------------------------------------------------------------
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