Re: Help please to authenticate Windows users
From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 06/20/04
- Next message: Glenn: "TCP/IP Filtering and DNS problems"
- Previous message: Ken Schaefer: "Re: IIS6.0 Login Prompt w/ Anonymous Access"
- In reply to: danielle: "Re: Help please to authenticate Windows users"
- Next in thread: danielle: "Re: Help please to authenticate Windows users"
- Reply: danielle: "Re: Help please to authenticate Windows users"
- Reply: danielle: "Re: Help please to authenticate Windows users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 20 Jun 2004 04:18:14 -0700
Can you locate the web Log file entries corresponding to your requests which
result in "Access Denied" and post it here. I need to know the HTTP sub
status error code as well as Win32 error code -- I know the HTTP status code
is 401.
%SYSTEMROOT%\System32\LogFiles\W3SVC#\*.log
The authentication methods you are using has very little to do with
machine.config. This is all stuff that happens BEFORE reaching managed code
and ASP.Net, so your configuration changes are pretty much useless. What
you are doing is like trying to change your password by typing on the
keyboard, but the computer isn't powered on yet -- so even though you typed
on the keyboard, your password obviously isn't changed.
Windows Authentication automatically works if the machines are joined to the
same domain. If the web server is in the domain and your client machine is
also in the domain, both computers will accept your domain user credential,
as-is, using Windows Authentication.
So, please describe:
1. Whether the machine running VS.Net is joined to the domain
2. Whether the machine running IIS is joined to the domain
3. Is VS.Net on the same machine as IIS
4. Is IIS on the same machine as the Domain Controller
Honestly, all this stuff worked automatically for me when I installed VS.Net
and IIS6 on separate or the same machine, default settings, where all
machines were either stand-alone machines (so I made sure to have
synchronized accounts between all the machines) or domain-machines. So, I'm
curious to know where you are going astray.
-- //David IIS This posting is provided "AS IS" with no warranties, and confers no rights. // "danielle" <danielle@discussions.microsoft.com> wrote in message news:0000F25F-ABC2-4F3E-A742-CFCB57637138@microsoft.com... David thank you! You are right. But when I do only Integrated Windows then I can not get to the website at all, even to open solution in Visual Studio .NET. Windows authentication is not working. I changed even machine.config file attribute 'system' instead of 'machine' as process (article). Somehow IIS is not communicating with Active Directory or browsers are not passing server variables. :( In short: Access denied or you are not authorized to see pages when Integrated Windows only checked. thanks everyone for help
- Next message: Glenn: "TCP/IP Filtering and DNS problems"
- Previous message: Ken Schaefer: "Re: IIS6.0 Login Prompt w/ Anonymous Access"
- In reply to: danielle: "Re: Help please to authenticate Windows users"
- Next in thread: danielle: "Re: Help please to authenticate Windows users"
- Reply: danielle: "Re: Help please to authenticate Windows users"
- Reply: danielle: "Re: Help please to authenticate Windows users"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|