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.
Thanks & Regards Syed