You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Malka Cymbalista <Ma...@weizmann.ac.il> on 2006/12/13 11:30:16 UTC

mod_auth_ldap

I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun
Solaris machine. We would like to do http authentication via our ldap
server so we need to install mod_auth_ldap.
The instrictions I found for installing mod_auth_ldap
(http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apache2.html)
say that before compiling and installing mod_auth_ldap, we need to
complile and install LDAP libraries.  The instructions for installing
ldap libraries seem to force me to also install an ldap server.  I do
not want to install an ldap server since we already have a working ldap
server.  I want to use our existing ldap server to do httpd
authentication on our web server. Is there a way to install only the
ldap libraries?
Thanks for any help.
 
Malka Cymbalista
Webmaster, Weizmann Institute of Science
malki.cymbalista@weizmann.ac.il 
08-934-3036

Re: mod_auth_ldap

Posted by Tielman de Villiers <tv...@gmail.com>.
On 13/12/06, Malka Cymbalista <Ma...@weizmann.ac.il> wrote:

> I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun
> Solaris machine. We would like to do http authentication via our ldap server
> so we need to install mod_auth_ldap.
> The instrictions I found for installing mod_auth_ldap
> (http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apache2.html)

Apache2 has a builtin mod_auth_ldap module, so you don't need an
external one: http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html.

If you used Apache1, you could also look at this module:
http://nona.net/software/ldap/

> say that before compiling and installing mod_auth_ldap, we need to complile
> and install LDAP libraries.  The instructions for installing ldap libraries
> seem to force me to also install an ldap server.  I do not want to install
> an ldap server since we already have a working ldap server.  I want to use
> our existing ldap server to do httpd authentication on our web server. Is
> there a way to install only the ldap libraries?

Have you tried "./configure --disable-slapd" when making openldap?

Which ldap server are you using to authenticate against?

--tielman

Re: [users@httpd] mod_auth_ldap

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
You can specify options in the OpenLDAP configure to only build the libs
and includes.

configure --disable-slapd --disable-slurpd


On Wed, 13 Dec 2006, Malka Cymbalista wrote:

> I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun
> Solaris machine. We would like to do http authentication via our ldap
> server so we need to install mod_auth_ldap.
> The instrictions I found for installing mod_auth_ldap
> (http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apache2.html)
> say that before compiling and installing mod_auth_ldap, we need to
> complile and install LDAP libraries.  The instructions for installing
> ldap libraries seem to force me to also install an ldap server.  I do
> not want to install an ldap server since we already have a working ldap
> server.  I want to use our existing ldap server to do httpd
> authentication on our web server. Is there a way to install only the
> ldap libraries?
> Thanks for any help.
>
> Malka Cymbalista
> Webmaster, Weizmann Institute of Science
> malki.cymbalista@weizmann.ac.il
> 08-934-3036
>

----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


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


Re: [users@httpd] mod_auth_ldap

Posted by "John P. Dodge" <do...@cruciate.ca.boeing.com>.
You can specify options in the OpenLDAP configure to only build the libs
and includes.

configure --disable-slapd --disable-slurpd


On Wed, 13 Dec 2006, Malka Cymbalista wrote:

> I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun
> Solaris machine. We would like to do http authentication via our ldap
> server so we need to install mod_auth_ldap.
> The instrictions I found for installing mod_auth_ldap
> (http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apache2.html)
> say that before compiling and installing mod_auth_ldap, we need to
> complile and install LDAP libraries.  The instructions for installing
> ldap libraries seem to force me to also install an ldap server.  I do
> not want to install an ldap server since we already have a working ldap
> server.  I want to use our existing ldap server to do httpd
> authentication on our web server. Is there a way to install only the
> ldap libraries?
> Thanks for any help.
>
> Malka Cymbalista
> Webmaster, Weizmann Institute of Science
> malki.cymbalista@weizmann.ac.il
> 08-934-3036
>

----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


RE: [users@httpd] mod_auth_ldap

Posted by Mark Lavi <ml...@sgi.com>.
This question is best suited towards the community behind the LDAP
libraries or the LDAP authentication module you are speaking about.

However, it's a pretty easy guess you are speaking about OpenLDAP, which
is distributed as a single tarball of code for the libraries, command
line tools, and server. There's no way around that unless you find
another distribution, perhaps via another source, which I wouldn't
recommend. It's always best to deal with primary sources or mirrors and
be sure to check the signatures on anything you download.

You've got nothing to worry about: building and installing OpenLDAP
*does not* run the LDAP server.

You (or someone on the system with administrative privileges) would need
to initiate starting the server. You can also delete the server binaries
and configuration if you wish, but it's simplest to never run any of the
LDAP server start up scripts. I recommend reading the OpenLDAP
administrator handbook to learn more about what files constitute the
server, startup, and configuration rather than ask further here.

Cheers,

--Mark 

Mark Lavi, Enterprise Web Management Team @ SGI
mailto:mlavi@sgi.com || phone:+1-650-933-7707
________________________________


From: Malka Cymbalista [mailto:Malki.Cymbalista@weizmann.ac.il] 
Sent: Wednesday, December 13, 2006 2:30 AM
To: users@httpd.apache.org; modperl@perl.apache.org
Subject: [users@httpd] mod_auth_ldap

 

I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun
Solaris machine. We would like to do http authentication via our ldap
server so we need to install mod_auth_ldap.

The instrictions I found for installing mod_auth_ldap
(http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apach
e2.html) say that before compiling and installing mod_auth_ldap, we need
to complile and install LDAP libraries.  The instructions for installing
ldap libraries seem to force me to also install an ldap server.  I do
not want to install an ldap server since we already have a working ldap
server.  I want to use our existing ldap server to do httpd
authentication on our web server. Is there a way to install only the
ldap libraries?

Thanks for any help.

 

Malka Cymbalista
Webmaster, Weizmann Institute of Science
malki.cymbalista@weizmann.ac.il
08-934-3036


RE: [users@httpd] mod_auth_ldap

Posted by Mark Lavi <ml...@sgi.com>.
This question is best suited towards the community behind the LDAP
libraries or the LDAP authentication module you are speaking about.

However, it's a pretty easy guess you are speaking about OpenLDAP, which
is distributed as a single tarball of code for the libraries, command
line tools, and server. There's no way around that unless you find
another distribution, perhaps via another source, which I wouldn't
recommend. It's always best to deal with primary sources or mirrors and
be sure to check the signatures on anything you download.

You've got nothing to worry about: building and installing OpenLDAP
*does not* run the LDAP server.

You (or someone on the system with administrative privileges) would need
to initiate starting the server. You can also delete the server binaries
and configuration if you wish, but it's simplest to never run any of the
LDAP server start up scripts. I recommend reading the OpenLDAP
administrator handbook to learn more about what files constitute the
server, startup, and configuration rather than ask further here.

Cheers,

--Mark 

Mark Lavi, Enterprise Web Management Team @ SGI
mailto:mlavi@sgi.com || phone:+1-650-933-7707
________________________________


From: Malka Cymbalista [mailto:Malki.Cymbalista@weizmann.ac.il] 
Sent: Wednesday, December 13, 2006 2:30 AM
To: users@httpd.apache.org; modperl@perl.apache.org
Subject: [users@httpd] mod_auth_ldap

 

I am running Apache 2.0.55 with mod_perl 2.0.1 and Perl 5.8.1 on a Sun
Solaris machine. We would like to do http authentication via our ldap
server so we need to install mod_auth_ldap.

The instrictions I found for installing mod_auth_ldap
(http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apach
e2.html) say that before compiling and installing mod_auth_ldap, we need
to complile and install LDAP libraries.  The instructions for installing
ldap libraries seem to force me to also install an ldap server.  I do
not want to install an ldap server since we already have a working ldap
server.  I want to use our existing ldap server to do httpd
authentication on our web server. Is there a way to install only the
ldap libraries?

Thanks for any help.

 

Malka Cymbalista
Webmaster, Weizmann Institute of Science
malki.cymbalista@weizmann.ac.il
08-934-3036