Re: [PHP] Attaining NTLM information from IE browsers.

2003-02-08 Thread Danny Shepherd
There is actually an NTLM Auth module available for Apache.
(http://modntlm.sourceforge.net/).

If you really need to do it though PHP I'd suggest running a packet sniffer
to see what headers IIS sends and what to expect back from IE.

HTH

Danny Shepherd.

- Original Message -
From: "Marriner, Bruce W." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 08, 2003 6:39 PM
Subject: [PHP] Attaining NTLM information from IE browsers.



I know this is in the archives, but I couldnt seem to find the answer I
needed.  I am running redhat8, apache 2.0.44, and php 4.2.2.
I am trying to write a script that will emulate the IIS server and request
NTLM auth. from the browser.  And then decode the base64? information and
compate the user information against a ldap function that connects to a
active directory server.  I know that you must modify the header with the
header() command.  I have done that, and the most I get in one line of
information back from the browser.  There is suppose to be three lines of
encoded information sent back.   If anyone has any code or knows the
complete hand shake or anything really, I would really like the help. This
is a really big project at my company, and they are considering moving to a
linux platform and even PHP.  But if I can't make the same stuff work that
their w2k cold fusion platform does.  It's not going to work so well.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Attaining NTLM information from IE browsers.

2003-02-08 Thread Marriner, Bruce W.

I know this is in the archives, but I couldnt seem to find the answer I needed.  I 
am running redhat8, apache 2.0.44, and php 4.2.2.
I am trying to write a script that will emulate the IIS server and request NTLM auth. 
from the browser.  And then decode the base64? information and compate the user 
information against a ldap function that connects to a active directory server.  I 
know that you must modify the header with the header() command.  I have done that, and 
the most I get in one line of information back from the browser.  There is suppose to 
be three lines of encoded information sent back.   If anyone has any code or knows the 
complete hand shake or anything really, I would really like the help. This is a really 
big project at my company, and they are considering moving to a linux platform and 
even PHP.  But if I can't make the same stuff work that their w2k cold fusion platform 
does.  It's not going to work so well.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php