httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] ldap authentication
Date Wed, 23 Apr 2008 11:45:14 GMT
On Wed, Apr 23, 2008 at 7:00 AM, syed mehdi <smmehadi@gmail.com> wrote:
> When a user authenticates using LDAP user/paswd to execute a script placed
> at server, then how can the script determine which user have executed it
> (after authentication). By this we can keep track of users making changes in
> database otherwise any user can make changes anywhere and it will be in a
> bad condition. I think some environment variables (UID) can help in this,
> but don't know exactly how. please help.

The script gets passed a whole list of environment variables. On of
these variables is REMOTE_USER which will be set to whichever username
the user authenticated with.

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

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