I wrote a cgi script that allows people to unlock users from our active directory. (less work for me) Then it creates a log of who they unlocked, The person Unlocking, and the date and time.
My question is, I want to limit access to this page with a logon screen. I would like to authenticate the username and password with active directory to give them access to the page. I have search and found nothing. The reason i want to do this because "Users" don't like to remember another password so this is my resolution. If you could show me some code that would do what I am asking that would be great. Or atlease point me in the right direction
Also, the username and password need to be encrypted went sending the info to the Active directory. (duh)
Thank you Very Much.