httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] apache ldap authentication
Date Thu, 02 Jan 2003 11:30:32 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 2 Jan 2003, Aaron Sturm wrote:

> After apache authenticates a user, is there a way I can pass the username to
> a CGI? Or do I have to create a login page and have the CGI do the ldap
> authentication?

The username is available in the environment variable REMOTE_USER

However ...

I think that you may be making this harder than necessary. There are
modules, available from http://modules.apache.org/ , which will let you
authenticate directly against your LDAP server. By installing one of
those modules, you will simplify this process, and not have to figure
out how to make LDAP connections from your CGI. It will also be faster,
and less possible to circumvent.

- -- 
Rich Bowen - rbowen@rcbowen.com
Author - Apache Administrator's Guide
http://www.ApacheAdmin.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQE+FCLhXP03+sx4yJMRAqQ7AKCiPi0WyvhmBajvOOtXEgySCrAnMgCgtD9l
xY+nt0aEPb53PM0vPKpIG3Y=
=Su51
-----END PGP SIGNATURE-----



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