You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Solve Cool <so...@yahoo.com> on 2002/07/29 10:41:56 UTC
LDAP autentication on Apache 2 [ wahted how to do URL ]
Hello Friends
I am trying for the last two weeks for LDAP
authentication for APACHE , i had gone throut
mod_auth_ldap
I did install and reinstall so may times , so far I am
not able to configure it
I had refered
http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html
http://authzldap.othello.ch/download.html
http://authzldap.othello.ch/
can any one help me with the reference url of how to
do on LDAP authentication on Apache with example of httpd.com
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: LDAP autentication on Apache 2 [ wahted how to do URL ]
Posted by Rudolf Wolf <ru...@dantax.cz>.
My OpenLDAP line
---------------------------
CPPFLAGS="-I/usr/local/ssl/include" LIBS="-L/usr/local/ssl/lib" LDFLAGS="-L/usr/local/ssl/lib";export CPPFLAGS LIBS LDFLAGS
./configure --sysconfdir=/etc --localstatedir=/var --with-tls --enable-ldap
On Tue, Jul 30, 2002 at 06:19:40PM +0530, Eldo wrote:
> Rudolf,
>
> Could you throw some light on the compilation of OpenLDAP too(preferably
> could you send the configure line).
> I guess apache cribs if you have static libraries of OpenLDAP.
>
> Thanks
> Eldo
>
>
> ----- Original Message -----
> From: "Rudolf Wolf" <ru...@dantax.cz>
> To: <us...@httpd.apache.org>
> Sent: Tuesday, July 30, 2002 6:07 PM
> Subject: Re: LDAP autentication on Apache 2 [ wahted how to do URL ]
>
>
> > My configuration:
> > Debian 2.2
> > OpenSSL 0.96.d
> > OpenLDAP 2.0.23
> > Apache 2.0.39
> >
> > I compiled OpenLDAP and OpenSSL via INSTALL file. Then I get from Apache
> CVS module httpd-ldap and copied it under directory modules in source
> directory of Apache. I use command buildconf (maybe you have to need to
> update or install some new files to have buildconf working).
> > My configure line was:
> > -----------------------------
> >
> ./configure --sysconfdir=/etc/apache --enable-so --enable-ssl --enable-ldap
> --with-ldap --with-auth-ldap --enable-auth-ldap
> >
> > My .htaccess file: (you may need to allow to override default security via
> directive AllowOverride AuthConfigwhere you want or on root :-))
> >
> > AuthName 'LDAP Auth'
> > AuthType Basic
> > AuthLDAPEnabled On
> > AuthLDAPBindDN 'uid=xxxx,ou=Accounts,o=Foo,c=cz'
> > AuthLDAPBindPassword 'xxxx'
> > AuthLDAPURL 'ldap://ldap.foo.cz:389/ou=Accounts,
> o=Foo,c=cz?uid?sub?(objectClass=*)'
> > require valid-user
> >
> >
> > On Tue, Jul 30, 2002 at 12:14:02AM -0700, Solve Cool wrote:
> > > Hello Ruda
> > > Thanks , It will be much beneficial for me
> > > and other novice .If u can write it for all of us
> > > Thanks
> > > SC
> > > --- Rudolf Wolf <ru...@dantax.cz> wrote:
> > > > I'm using LDAP module httpd-ldap from Apache and
> > > > it's working. If you are interested in this module
> > > > and not only the below listed, I can write, what my
> > > > steps were.
> > > >
> > > > Ruda.
> > > >
> > > > On Mon, Jul 29, 2002 at 01:41:56AM -0700, Solve Cool
> > > > wrote:
> > > > > Hello Friends
> > > > > I am trying for the last two weeks for LDAP
> > > > > authentication for APACHE , i had gone throut
> > > > > mod_auth_ldap
> > > > > I did install and reinstall so may times , so far
> > > > I am
> > > > > not able to configure it
> > > > > I had refered
> > > > >
> > > > >
> > > >
> > > http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html
> > > > > http://authzldap.othello.ch/download.html
> > > > > http://authzldap.othello.ch/
> > > > >
> > > > > can any one help me with the reference url of how
> > > > to
> > > > > do on LDAP authentication on Apache with example
> > > > of httpd.com
> > > > >
> > > > > __________________________________________________
> > > > > Do You Yahoo!?
> > > > > Yahoo! Health - Feel better, live better
> > > > > http://health.yahoo.com
> > > > >
> > > > >
> > > >
> > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail:
> > > > users-unsubscribe@httpd.apache.org
> > > > > For additional commands, e-mail:
> > > > users-help@httpd.apache.org
> > > > >
> > > >
> > > >
> > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > > users-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail:
> > > > users-help@httpd.apache.org
> > > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Health - Feel better, live better
> > > http://health.yahoo.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: LDAP autentication on Apache 2 [ wahted how to do URL ]
Posted by Eldo <ce...@hotmail.com>.
Rudolf,
Could you throw some light on the compilation of OpenLDAP too(preferably
could you send the configure line).
I guess apache cribs if you have static libraries of OpenLDAP.
Thanks
Eldo
----- Original Message -----
From: "Rudolf Wolf" <ru...@dantax.cz>
To: <us...@httpd.apache.org>
Sent: Tuesday, July 30, 2002 6:07 PM
Subject: Re: LDAP autentication on Apache 2 [ wahted how to do URL ]
> My configuration:
> Debian 2.2
> OpenSSL 0.96.d
> OpenLDAP 2.0.23
> Apache 2.0.39
>
> I compiled OpenLDAP and OpenSSL via INSTALL file. Then I get from Apache
CVS module httpd-ldap and copied it under directory modules in source
directory of Apache. I use command buildconf (maybe you have to need to
update or install some new files to have buildconf working).
> My configure line was:
> -----------------------------
>
./configure --sysconfdir=/etc/apache --enable-so --enable-ssl --enable-ldap
--with-ldap --with-auth-ldap --enable-auth-ldap
>
> My .htaccess file: (you may need to allow to override default security via
directive AllowOverride AuthConfigwhere you want or on root :-))
>
> AuthName 'LDAP Auth'
> AuthType Basic
> AuthLDAPEnabled On
> AuthLDAPBindDN 'uid=xxxx,ou=Accounts,o=Foo,c=cz'
> AuthLDAPBindPassword 'xxxx'
> AuthLDAPURL 'ldap://ldap.foo.cz:389/ou=Accounts,
o=Foo,c=cz?uid?sub?(objectClass=*)'
> require valid-user
>
>
> On Tue, Jul 30, 2002 at 12:14:02AM -0700, Solve Cool wrote:
> > Hello Ruda
> > Thanks , It will be much beneficial for me
> > and other novice .If u can write it for all of us
> > Thanks
> > SC
> > --- Rudolf Wolf <ru...@dantax.cz> wrote:
> > > I'm using LDAP module httpd-ldap from Apache and
> > > it's working. If you are interested in this module
> > > and not only the below listed, I can write, what my
> > > steps were.
> > >
> > > Ruda.
> > >
> > > On Mon, Jul 29, 2002 at 01:41:56AM -0700, Solve Cool
> > > wrote:
> > > > Hello Friends
> > > > I am trying for the last two weeks for LDAP
> > > > authentication for APACHE , i had gone throut
> > > > mod_auth_ldap
> > > > I did install and reinstall so may times , so far
> > > I am
> > > > not able to configure it
> > > > I had refered
> > > >
> > > >
> > >
> > http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html
> > > > http://authzldap.othello.ch/download.html
> > > > http://authzldap.othello.ch/
> > > >
> > > > can any one help me with the reference url of how
> > > to
> > > > do on LDAP authentication on Apache with example
> > > of httpd.com
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Yahoo! Health - Feel better, live better
> > > > http://health.yahoo.com
> > > >
> > > >
> > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > users-unsubscribe@httpd.apache.org
> > > > For additional commands, e-mail:
> > > users-help@httpd.apache.org
> > > >
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail:
> > > users-help@httpd.apache.org
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: LDAP autentication on Apache 2 [ wahted how to do URL ]
Posted by Rudolf Wolf <ru...@dantax.cz>.
My configuration:
Debian 2.2
OpenSSL 0.96.d
OpenLDAP 2.0.23
Apache 2.0.39
I compiled OpenLDAP and OpenSSL via INSTALL file. Then I get from Apache CVS module httpd-ldap and copied it under directory modules in source directory of Apache. I use command buildconf (maybe you have to need to update or install some new files to have buildconf working).
My configure line was:
-----------------------------
./configure --sysconfdir=/etc/apache --enable-so --enable-ssl --enable-ldap --with-ldap --with-auth-ldap --enable-auth-ldap
My .htaccess file: (you may need to allow to override default security via directive AllowOverride AuthConfigwhere you want or on root :-))
AuthName 'LDAP Auth'
AuthType Basic
AuthLDAPEnabled On
AuthLDAPBindDN 'uid=xxxx,ou=Accounts,o=Foo,c=cz'
AuthLDAPBindPassword 'xxxx'
AuthLDAPURL 'ldap://ldap.foo.cz:389/ou=Accounts, o=Foo,c=cz?uid?sub?(objectClass=*)'
require valid-user
On Tue, Jul 30, 2002 at 12:14:02AM -0700, Solve Cool wrote:
> Hello Ruda
> Thanks , It will be much beneficial for me
> and other novice .If u can write it for all of us
> Thanks
> SC
> --- Rudolf Wolf <ru...@dantax.cz> wrote:
> > I'm using LDAP module httpd-ldap from Apache and
> > it's working. If you are interested in this module
> > and not only the below listed, I can write, what my
> > steps were.
> >
> > Ruda.
> >
> > On Mon, Jul 29, 2002 at 01:41:56AM -0700, Solve Cool
> > wrote:
> > > Hello Friends
> > > I am trying for the last two weeks for LDAP
> > > authentication for APACHE , i had gone throut
> > > mod_auth_ldap
> > > I did install and reinstall so may times , so far
> > I am
> > > not able to configure it
> > > I had refered
> > >
> > >
> >
> http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html
> > > http://authzldap.othello.ch/download.html
> > > http://authzldap.othello.ch/
> > >
> > > can any one help me with the reference url of how
> > to
> > > do on LDAP authentication on Apache with example
> > of httpd.com
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Health - Feel better, live better
> > > http://health.yahoo.com
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail:
> > users-help@httpd.apache.org
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
> > users-help@httpd.apache.org
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Error when i start apachectl
Posted by Solve Cool <so...@yahoo.com>.
Hello Friends
I did some changes in the httpd.conf and when I
started "apachectl start" I am getting an error like
Syntax error on line 458 of /etc/httpd/httpd.conf:
Invalid command 'AuthLDAPURL', perhaps mis-spelled or
defined by a module not included in t
he server configuration
/usr/sbin/apachectl start: httpd could not be started
I am sending the part of httpd.conf file
<Directory /usr/local/httpd/htdocs>
AuthLDAPURL ldap://myserver/o=Foobar
Software?uid
AuthType basic
AuthName my-domain
require valid-user
</Directory>
Please help in trouble solving my problem
Thanks
SC
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: LDAP autentication on Apache 2 [ wahted how to do URL ]
Posted by Solve Cool <so...@yahoo.com>.
Hello Ruda
Thanks , It will be much beneficial for me
and other novice .If u can write it for all of us
Thanks
SC
--- Rudolf Wolf <ru...@dantax.cz> wrote:
> I'm using LDAP module httpd-ldap from Apache and
> it's working. If you are interested in this module
> and not only the below listed, I can write, what my
> steps were.
>
> Ruda.
>
> On Mon, Jul 29, 2002 at 01:41:56AM -0700, Solve Cool
> wrote:
> > Hello Friends
> > I am trying for the last two weeks for LDAP
> > authentication for APACHE , i had gone throut
> > mod_auth_ldap
> > I did install and reinstall so may times , so far
> I am
> > not able to configure it
> > I had refered
> >
> >
>
http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html
> > http://authzldap.othello.ch/download.html
> > http://authzldap.othello.ch/
> >
> > can any one help me with the reference url of how
> to
> > do on LDAP authentication on Apache with example
> of httpd.com
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
> users-help@httpd.apache.org
> >
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: LDAP autentication on Apache 2 [ wahted how to do URL ]
Posted by Rudolf Wolf <ru...@dantax.cz>.
I'm using LDAP module httpd-ldap from Apache and it's working. If you are interested in this module and not only the below listed, I can write, what my steps were.
Ruda.
On Mon, Jul 29, 2002 at 01:41:56AM -0700, Solve Cool wrote:
> Hello Friends
> I am trying for the last two weeks for LDAP
> authentication for APACHE , i had gone throut
> mod_auth_ldap
> I did install and reinstall so may times , so far I am
> not able to configure it
> I had refered
>
> http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html
> http://authzldap.othello.ch/download.html
> http://authzldap.othello.ch/
>
> can any one help me with the reference url of how to
> do on LDAP authentication on Apache with example of httpd.com
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org