Re: [PHP] Pass Windows credentials
- From: mrsquash2@xxxxxxxxx ("Dan Shirah")
- Date: Wed, 31 Oct 2007 14:06:31 -0400
The server variable AUTH_USER contains the windows login name. If I rememebr
correctly, within IIS you need to have your website setup for windows
authentication. Otherwise you will only be pull the Anonymous access name
for your server.
I haven't worked much on Linux, so I don't know if there is an option to use
Windows Authentication or not.
You can echo it out like this:
<?php echo $_SERVER['AUTH_USER']; ?>
Hope that helps.
On 10/31/07, Simone Nanni <simone.nanni@xxxxxxxxxxxx> wrote:
Hi everybody,
i'm trying to do an hard stuff.....
I want to create a PHP page where users can authenticate themselves
passing their Windows (XP or 2000) logon credentials trasparently.
So, if i've made logon on my workstation with "username" and "password" i
want to catch them and reuse to give them access.
This stuff will run on a Linux Slackware box with Apache 2.2.4 - PHP 5.2.4and Samba
3.0.26a
Somebody can help me?!
Thanx a lot!
Simone Nanni
ICT Technician
A.O.U. Policlinico Tor Vergata
Viale Oxford, 81
00133 - Roma - RM - Italy
- References:
- Pass Windows credentials
- From: Simone Nanni
- Pass Windows credentials
- Prev by Date: APACHE MOD_REWRITE
- Next by Date: Re: Pass Windows credentials
- Previous by thread: RE: [PHP] Pass Windows credentials
- Next by thread: Re: Pass Windows credentials
- Index(es):
Relevant Pages
|