Error 401 with IIS and Windows Authentication
There is following authorization issue with IIS and windows authorization:
User A can access a specific website without problems.
Entering the URL in the browser, the site is opened without asking for credentials.
On the domain controller, i create a new user B cloning from user A.
If user B is entering the URL of the specific website, he will be asked for credentials for 3 times and access will be denied with error 401.
Any ideas or do you need more information?
Best regards
authentication iis
add a comment |
There is following authorization issue with IIS and windows authorization:
User A can access a specific website without problems.
Entering the URL in the browser, the site is opened without asking for credentials.
On the domain controller, i create a new user B cloning from user A.
If user B is entering the URL of the specific website, he will be asked for credentials for 3 times and access will be denied with error 401.
Any ideas or do you need more information?
Best regards
authentication iis
Can you check IIS log files to see which 401 user B hits? support.microsoft.com/en-ca/help/943891/…
– Lex Li
Nov 22 at 21:24
In log files, some lines are ending with - 401 3 0 5 - 401 3 0 2 - 401 3 0 3 - 401 3 0 1 I assume it is 401.3
– sahl04
Nov 23 at 8:39
read the article again please. It is an index page.
– Lex Li
Nov 23 at 13:43
It seems to be using Windows Integrated, and User B does not have permissions to the underlying resource that is being requested (possibly a file, in which case it would be Windows permissons to that file.) If the website is simply pointing to a Windows folder, it would be to whatever IIS considers the default web file is the folder, like 'index.html' for example. Check the Windows permissions on that file and ANY included file on that page like images and external javascript files.
– Brian Clink
Nov 27 at 21:57
add a comment |
There is following authorization issue with IIS and windows authorization:
User A can access a specific website without problems.
Entering the URL in the browser, the site is opened without asking for credentials.
On the domain controller, i create a new user B cloning from user A.
If user B is entering the URL of the specific website, he will be asked for credentials for 3 times and access will be denied with error 401.
Any ideas or do you need more information?
Best regards
authentication iis
There is following authorization issue with IIS and windows authorization:
User A can access a specific website without problems.
Entering the URL in the browser, the site is opened without asking for credentials.
On the domain controller, i create a new user B cloning from user A.
If user B is entering the URL of the specific website, he will be asked for credentials for 3 times and access will be denied with error 401.
Any ideas or do you need more information?
Best regards
authentication iis
authentication iis
asked Nov 22 at 11:26
sahl04
25925
25925
Can you check IIS log files to see which 401 user B hits? support.microsoft.com/en-ca/help/943891/…
– Lex Li
Nov 22 at 21:24
In log files, some lines are ending with - 401 3 0 5 - 401 3 0 2 - 401 3 0 3 - 401 3 0 1 I assume it is 401.3
– sahl04
Nov 23 at 8:39
read the article again please. It is an index page.
– Lex Li
Nov 23 at 13:43
It seems to be using Windows Integrated, and User B does not have permissions to the underlying resource that is being requested (possibly a file, in which case it would be Windows permissons to that file.) If the website is simply pointing to a Windows folder, it would be to whatever IIS considers the default web file is the folder, like 'index.html' for example. Check the Windows permissions on that file and ANY included file on that page like images and external javascript files.
– Brian Clink
Nov 27 at 21:57
add a comment |
Can you check IIS log files to see which 401 user B hits? support.microsoft.com/en-ca/help/943891/…
– Lex Li
Nov 22 at 21:24
In log files, some lines are ending with - 401 3 0 5 - 401 3 0 2 - 401 3 0 3 - 401 3 0 1 I assume it is 401.3
– sahl04
Nov 23 at 8:39
read the article again please. It is an index page.
– Lex Li
Nov 23 at 13:43
It seems to be using Windows Integrated, and User B does not have permissions to the underlying resource that is being requested (possibly a file, in which case it would be Windows permissons to that file.) If the website is simply pointing to a Windows folder, it would be to whatever IIS considers the default web file is the folder, like 'index.html' for example. Check the Windows permissions on that file and ANY included file on that page like images and external javascript files.
– Brian Clink
Nov 27 at 21:57
Can you check IIS log files to see which 401 user B hits? support.microsoft.com/en-ca/help/943891/…
– Lex Li
Nov 22 at 21:24
Can you check IIS log files to see which 401 user B hits? support.microsoft.com/en-ca/help/943891/…
– Lex Li
Nov 22 at 21:24
In log files, some lines are ending with - 401 3 0 5 - 401 3 0 2 - 401 3 0 3 - 401 3 0 1 I assume it is 401.3
– sahl04
Nov 23 at 8:39
In log files, some lines are ending with - 401 3 0 5 - 401 3 0 2 - 401 3 0 3 - 401 3 0 1 I assume it is 401.3
– sahl04
Nov 23 at 8:39
read the article again please. It is an index page.
– Lex Li
Nov 23 at 13:43
read the article again please. It is an index page.
– Lex Li
Nov 23 at 13:43
It seems to be using Windows Integrated, and User B does not have permissions to the underlying resource that is being requested (possibly a file, in which case it would be Windows permissons to that file.) If the website is simply pointing to a Windows folder, it would be to whatever IIS considers the default web file is the folder, like 'index.html' for example. Check the Windows permissions on that file and ANY included file on that page like images and external javascript files.
– Brian Clink
Nov 27 at 21:57
It seems to be using Windows Integrated, and User B does not have permissions to the underlying resource that is being requested (possibly a file, in which case it would be Windows permissons to that file.) If the website is simply pointing to a Windows folder, it would be to whatever IIS considers the default web file is the folder, like 'index.html' for example. Check the Windows permissions on that file and ANY included file on that page like images and external javascript files.
– Brian Clink
Nov 27 at 21:57
add a comment |
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53429936%2ferror-401-with-iis-and-windows-authentication%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53429936%2ferror-401-with-iis-and-windows-authentication%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can you check IIS log files to see which 401 user B hits? support.microsoft.com/en-ca/help/943891/…
– Lex Li
Nov 22 at 21:24
In log files, some lines are ending with - 401 3 0 5 - 401 3 0 2 - 401 3 0 3 - 401 3 0 1 I assume it is 401.3
– sahl04
Nov 23 at 8:39
read the article again please. It is an index page.
– Lex Li
Nov 23 at 13:43
It seems to be using Windows Integrated, and User B does not have permissions to the underlying resource that is being requested (possibly a file, in which case it would be Windows permissons to that file.) If the website is simply pointing to a Windows folder, it would be to whatever IIS considers the default web file is the folder, like 'index.html' for example. Check the Windows permissions on that file and ANY included file on that page like images and external javascript files.
– Brian Clink
Nov 27 at 21:57