NTLM, PHP and Apache

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

 



Greetings all,

I'm running a rogue (the company knows about it but doesn't support it) web
server for my dept and I'd like to be able to authenticate users
transparently. The company is currently doing this on their own supported
Intranet servers via NTLM on IIS. All I'm really looking for here is a way
to extract the user name from the 'Authentication:' HTTP header using PHP on
Apache (FC4). It seems that some of the string can be extracted using
base64_decode(). Unfortunately it is not the part of the string that I need.
It's just the domain name, the computer's NET BIOS name and the Auth-type
which of course is NTLMSSP.

I found a mod_ntlm for Apache, but even if I could compile it on FC4 (yes, I
tried) I'm not sure I need/want the full functionality of NTLM - just a way
to extract the user name of the user logged into the client machine from the
HTTP header using apache.

It seems that there are many sites out there that do this in Java and Perl,
but none describe a way to do this in PHP......any ideas?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux