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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS authentication and name resolution with WINS vs DNS

Status
Not open for further replies.

JGALEY

IS-IT--Management
May 21, 2003
105
US
I developed a web site running on IIS 6. Anonymous is checked off, integrated windows authentication is turned on. It is an ASP.NET site.

If I connect to this site using all is well. It goes to the document listed under documents for the default/home page

If I connect using I get prompted for logon and password, even though my AD credentials give me access to the site. I can enter my logon and password and get in, but I should not have to do that.

If I turn anonymous access on (leaving integrated checked, too), I can connect, but I need to restrict access to this site and do not want anonymous users on it.

Any ideas why it works ok when resolving the name via NETBIOS name (WINS) vs. via DNS??

Thanks in advance,

Jason
 
Jason,
I just looked at one of my IIS 6 servers and it's got the same problem when I go by IP to the server instead of by hostname.

Have you found any resolution yet?

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(Not quite so old any more.)
 
I'm looking at the logs for IIS and I'm seeing something strange.

If I connect to the root of the site by IP I get the following info in the log. When I connect by IP it isn't logging my username. When I connect via machine name by account info is there. It's very strange.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(Not quite so old any more.)
 
I did find that if I set the browser (IE) to put the site in either the Intranet zone, and made sure the setting was to automatically logon to intranet site, it works fine.

But I do not want to have to set that for all my user's machines. There has GOT to be another way!!! :)

It must think that because you are using the DNS name, that you are on the internet, rather than inside the domain. It could be the same case for when you use an IP.
 
Yeah, I was just thinking that. You should be able to update that setting via a GPO. Or at the least you should be able to push out a reg key to all users.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)

[noevil]
(Not quite so old any more.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top