We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Web Server Authentication Problem

Steveh24
Steveh24 asked
on
Medium Priority
199 Views
Last Modified: 2012-05-07
I want to access a new web server I have created, but I am having problems with Authentication

I have gone back to basics and created an Index.htm page in the root folder that just says "Hello World" and when I type in the URL http://webserver/index.htm from the webserver it goes straight to the page and displays "Hello World", but if I run this URL from any other maching in the network then I get a Windows Authentication login page and if I enter the domain\User & password I get to the "Hello World" page, how do I configure IIS to allow me acces without seeing the Login page.

I'm assuming that for this simple test that I'm not yet going through the ISA Server

I appreciate that there are plenty of variables I haven't mentioned, so please ask any questions that will help resolve this problem.

I either have a DNS or an Authentication setting issue
Comment
Watch Question

Top Expert 2009
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview

Author

Commented:
Tried that, but makes no difference, still get the login page
Top Expert 2009

Commented:
aftr change, did you restart IIS ??

Author

Commented:
yes

Author

Commented:
When I uncheck the Windows Authentication, I then get an error saying Im unauthorised to view this page,

HTTP Error 4101.1
Top Expert 2009

Commented:
what about with windows authentciation, sorry i didnot touch windows for long, so bare with me
click the windows authentication + anynomous access

Author

Commented:
That was the default setting, windows authentication + anynomous access, which works but you get a login page, if I uncheck windows authentication then I get the error as described above
Top Expert 2009

Commented:
ok
then its must be permissin issue

can you check, the username is in annynomous user, it has the permission of that directory you are trying to access

Author

Commented:
Sorry, don't understand what you mean
Top Expert 2009

Commented:
ok
in IIS , under anynomous user, there would be a username and password ,example IUSR_PCNAME


now, go to C:\Inetpub\wwwroot\Direcotryname

check the permisison

if  IUSR_PCNAME has the permission to read that directory

Author

Commented:
ok, think I have found the problem, but can't resolve it.

IUSR_FILESVR is the name used for annynomous login, but if I go to  C:\Inetpub\wwwroot\Index.htm and check the security setting this name is not there and if I try to add it, IUSR_FILESVR cannot be found.

FILESVR is the name of the server box.
Top Expert 2009

Commented:
you need to click on find button, to get all the user list

Author

Commented:
Ok did that and only found IUSR_QUESTSVR & IUSREXCH1 which are our two DC's, but no IUSR_FILESVR, it doesn't exist
Top Expert 2009

Commented:
Can you try one thing to test its out ??

use any Administrative username and password in their, or use administrator username and password

( you can change that username later on any time)

i just want to see if it works

so use administrator username and password in annynomous login

then resatrt iis then try

Author

Commented:
I did find it, it is called Internet Guest Account IUSR_FILESVR
Top Expert 2009

Commented:
thats good, with that one , did it work ??

Author

Commented:
Using the administrator username and password in annynomous login didn't make any difference, still being asked to login

Author

Commented:
Nothing is working still being asked to login
Top Expert 2009

Commented:
its must of that issue....

have you checked permisison

wwwwrooot ?

Author

Commented:
Why, why why does it keep asking for me to login when I have it set to use annynomous logins
Top Expert 2009

Commented:
i saw this error for a public serve,r where i had to give IUSR_FILESVR to read permission to that directory

Author

Commented:
I'm not really sure what I'm looking for in wwwroot
Top Expert 2009

Commented:
right click on wwwroot folder
check permission

whats in the permission ??
do you hvae internetguest account and IUSR_FILESVR in their ??

Author

Commented:
Yes, IUSR_FILESVR is there and I have given it Full control, but makes no difference, still being asked for a damn login
Top Expert 2009

Commented:
are you trying with firefox or internet exploer ??

Author

Commented:
IE8
Top Expert 2009

Commented:
DAMM...

what about if you try to access the website via Ip

http://ipofyourserver/index.html

does it come ??

Author

Commented:
Tried that before asking for help, no joy
Top Expert 2009

Commented:
read this

http://forums.iis.net/t/1150013.aspx

do you want to try by  configure IE to pass credentials by adding the site to the intranet zone in IE.

Author

Commented:
sorry, think I've been confusing both of us, I've just tried the URL on my own pc and it goes straight to the web page "Hello World", so I checked the Laptop I was doing the test with and I've noticed that it is logged in as the Admin to the local machine so it's not part of AD, just logged in as Admin to the Domain and the test URL goes straight to the web page "Hello World"

Guess I need to go back and put everything back as it was and try and see if I can access the main Web Site, which is what I was originally tried, will ask for your help if I have problems, if not I will give u the points coz you have been very helpful.

Steve

Author

Commented:
I think I have now got it working, but it's asking for the login credentilas twice, the first time for Username & Password, then it's asking for Domain/Username & Password.

How can I stop it asking for Domain/Username & Password

Author

Commented:
I have noticed that if I use a PC connected to AD that the only login screen I see asks for Domain/Username & Password and then connects to the web page, but if I use a PC outside of AD I get the two login screens as described in my previous reply.

Author

Commented:
Found the problem, there was a setting in the Listener's Advnaced tab that allows authentication over http, when I ticked this, it all worked perfectly
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.