Groups | Blog | Home
all groups > iis security > september 2004 >

iis security : Unable to Access Webpage -> "The user has not been granted the requested..."


schneebie1 NO[at]SPAM hotmail.com
9/27/2004 8:43:15 AM
I am using basic authentication to grant users access to a secure page
that I am hosting. When they try to log they are unable to. In the
event viewer I get:

Logon Failure:
Reason: The user has not been granted the requested
logon type at this machine
User Name: testuser
Domain: MYDOMAIN
Logon Type: 2
Logon Process: IIS
Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
Workstation Name: SERVER21


However, if I make all 'Authenticated Users' part of the
'Administrator' group local to the machine, they are granted access
and they webpage works. This is very unsecure. How do I fix it?

Miha Pihler
9/27/2004 6:15:35 PM
Hi Zack,

You will have to edit local policy. Click on Start -> Run -> gpedit.msc and
click OK.

Under Computer Configuration -> Windows Settings -> Security Settings ->
Local Policies -> User Rights Assignment and look for "Access this computer
from the network". Double click on this policy and make sure that e.g.
Authenticated Users group is in this policy. You can also try and add one of
your users in this policy. After this is done close the policy and try to
access website using this account that you added to the policy.

I hope this helps,

Mike

[quoted text, click to view]

schneebie1 NO[at]SPAM hotmail.com
9/28/2004 10:27:46 AM
The 'Everyone' group is included in the "Access this computer from the
network" so I don't think that that is the problem. Any other ideas?

Zack

[quoted text, click to view]
Miha Pihler
9/28/2004 9:51:33 PM
Check that e.g. everyone or accounts used are not in e.g. Deny access to
this computer from the network. Deny will override allow policy.

Mike

[quoted text, click to view]

schneebie1 NO[at]SPAM hotmail.com
9/29/2004 10:26:54 AM
Mike - I appreciate your help but there are no accounts in the "Deny
access to
this computer from the network." This is really stumping me. Any other
ideas?

What is the difference between 'Log on Locally' and 'Access this
computer from the network?'

Zack
[quoted text, click to view]
Miha Pihler
9/29/2004 7:53:39 PM
Logon Locally policy will allow user to log in when behind the computer
while access this computer from the network will only allow users to e.g.
access shares but will not allow users to e.g. logon to the server...

If you use domain authentication try like this. Under username enter:

domain_name\username

where domain_name is NetBIOS name of your domain and
username is user account created in your domain.

Mike

[quoted text, click to view]

yonlinemanghn NO[at]SPAM online.microsoft.com
10/13/2004 9:00:16 PM
Hello
Logon type 2 is Interactive. This means that the user is missing the Log on
Locally privilege. Users who must authenticate successfully with Basic
authentication require this privilege. Make sure these users (or the groups
they belong to) are not listed under the Deny Log on Locally privilege.

Hope this helps,
Yogita Manghnani
Microsoft Developer Support
Internet Information Server

*********************************************************************
[quoted text, click to view]
account name for newsgroup participation only.<<

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use.

© 2003 Microsoft Corporation. All rights reserved.
*********************************************************************
AddThis Social Bookmark Button