By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,024 Members | 1,945 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,024 IT Pros & Developers. It's quick & easy.

NTLM authentication with IIS and latest IE

P: n/a
I've gotten NTLM authentication working with PHP 5.0.2 and IIS 5.0, so
long as I use Internet Explorer 6.0.2800. Using IE 6.0.2900
authentication doesn't happen. IE displays a "Cannot find Server or
DNS Error" page ("friendly HTTP message") or just hangs. Anybody know a
workaround? Here's the current incarnation of my code:

if (!$_SERVER['REMOTE_USER'] && !$_SERVER['AUTH_USER'] && !$_SERVER['LOGON_USER'])
{
header('HTTP/1.0 401 Authorization Required');
/*
header('WWW-Authenticate: Negotiate');
header('WWW-Authenticate: NTLM');
header('X-Test-Header: Am I seeing double?');
*/
echo 'This page requires EVNT authentication';
exit;
}
(EVNT refers to the realm I'm trying to authenticate.)

Any ideas what I can do to make NTLM work with all versions of IE?
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.