Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS Server not asking for Authentication.

Status
Not open for further replies.

basil3legs

Programmer
Jun 13, 2002
157
GB
This is probably not an IIS issue as such, however if anyone has a solution, it would be greatly appreciated.

I have an Windows NT 4 server running IIS 4 set up with Windows NT Challenge/Response ticked for the Authentication method and Allow Anonymous Access unticked. When I try and access the server on our network, I get up a box asking for Username, Password and Domain (which gets left blank). This allows me to access the website fine when the relevant details are entered. If I cancel the login, or get the password wrong 3 times, I get the normal "401.2 Unauthorized: Logon Failed due to server configuration" message. i.e. This appears to be working how it should.

However, if I access from another machine from the internet, in through our DSL line and router, I don't get the login box, it just goes straight to the 401.2 message. This is from a Windows 98 machine with DSL internet access of it's own.

Any suggestions why this should be happening? Is this something to do with the set up of the external machine or the server?

Thanks in advance.
 
The answer is easy. You cannot use Integrated Windows Authentication (NTLM chalenge/response) if you want to access the site from internet.
NTLM is a proprietary protocol. And, was designed to work just inside of an intranet.

Gia Betiu
giabetiu@chello.nl
Computer Eng. CNE 4, CNE 5, soon MCSE2k
 
GiaBetiu - thanks for the response.

However, I just realised I missed some important information out of the original question!!

I can access the site fine from other machines across the internet and these bring up the expected login screen and then allow access to the website when authenticated.

Any further advise as, without trying to offend, the original reply appears to be incorrect. There again had I supplied all the relevant information in the first place, that would have helped!!
 
Well, that was what I learned about, and is still on MS site. Indeed NTLM protocol has problems when it has to reach proxies. I don't know how is behaving behind a NAT too. I was supposing that your connection is a similar one.
Gia Betiu
giabetiu@chello.nl
Computer Eng. CNE 4, CNE 5, soon MCSE2k
 

The problem is most likely the browser config on the client that has trouble accessing the site. CHeck your zone configuration in IE for Logon Authentication and make sure you have it configured to not automatically pass-thru with current userID and password, instead requesting a prompt.

Should fix your issue with that specific client.

Galrahn
 
Galrahn, thanks for the advice.

The machine that is having problems is our MDs machine at home so I can't check his settings. I have now managed to reproduce the problem here, and you are right, it is the User Authentication settings within the Security settings on the Client machine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top