Re: ldap authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message ----- From: "Krist van Besien" <krist.vanbesien@xxxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx>
Sent: Wednesday, April 23, 2008 7:45 AM
Subject: Re:  ldap authentication


On Wed, Apr 23, 2008 at 7:00 AM, syed mehdi <smmehadi@xxxxxxxxx> 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.

REMOTE_USER doesnt always work in some of our PHP applications. I have to use $_SERVER['PHP_AUTH_USER'] instead.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux