Questions tagged [windows-authentication]

Integrated Windows Authentication is a term associated with Microsoft products that refers to the SPNEGO, Kerberos, and NTLM authentication protocols. Use tag with Windows authentication generally; though it might be best to use one of the more protocol-specific tags (such as Kerberos or NTLM) if the protocol being used is known.

Integrated Windows Authentication () is a term associated with Microsoft products that refers to the , , and authentication protocols with respect to functionality introduced with Microsoft Windows 2000 and included with later Windows NT-based operating systems. The term is used more commonly for the automatically authenticated connections between Microsoft Internet Information Services (), , and other aware applications.

IWA is also known by several names like HTTP Negotiate authentication, NT Authentication, NTLM Authentication, Domain authentication, Windows Integrated Authentication, Windows NT Challenge/Response authentication, or simply Windows Authentication.

Source: http://en.wikipedia.org/wiki/Integrated_Windows_Authentication

3028 questions
7
votes
0 answers

Refresh user claims and roles for Window authenticated user in ASP.Net Core 2

I’m encountering an issue wherein Windows authenticated user roles appear to be cached and are not updated until I restart the application. While a user's roles will not change often they do change and can change before an application restart is…
7
votes
4 answers

Getting "Service Unavailable" error when browsing IIS website

I have a website in IIS 6.0 using an application pool with a custom service account. When I browse the website, I get an error "service unavailable" and the error in event log says The identity of application pool 'SampleAppPool' is invalid, so the…
RKP
  • 5,285
  • 22
  • 70
  • 111
7
votes
3 answers

Python Windows Authentication username and password is not working

I am trying to enter data in prompt (URL Given), below codes is giving me an error. Please help me out with these? from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys…
7
votes
1 answer

IIS 7 - Authentication in IIS vs Authentication in web.config

I'm relatively new to using IIS 7. I'm getting confused by the various options that IIS 7 provides. What does setting authentication mode="Windows" do in the web.config of my ASP.net site do? What does enabling Windows authentication in the…
Dismissile
  • 32,564
  • 38
  • 174
  • 263
7
votes
2 answers

asp.net core windows authentication on local iis

I created default asp.net core application from defaut template. I chose Windows Authentication option during porcess of creation of new project (here is what i did). When i run app on issexpress, it works like a charm. When i moved app onto local…
7
votes
1 answer

MVC 5 Bypass Forms Authentication for Windows Authenticated users

I already have a website written using MVC 5 and it uses form authentication using SQL Server. Now is it possible that I can bypass Forms Authentication for users that are already on office network. Also I want to keep track of user and apply rules…
7
votes
1 answer

How to link servers in different AD-Domains?

I am trying to link two SQL Servers (2008R2 and 2014) which are running in two separate (!) Active Directory domains. The problem is that I can login into the remote server only with a Windows Account from the remote domain. So the challenge is to…
7
votes
2 answers

IIS 7.5 Windows Authentication failed with 401

Since we moved from IIS 7.0 to IIS 7.5 the Windows Authentication doesn't work anymore from remote requests. If I open the website on the webserver everything works fine. web.config:
Dave
  • 196
  • 1
  • 2
  • 8
7
votes
1 answer

Excessive HTTP 401s using Windows Authentication, AJAX, ASMX and external ISA

Enviornment: ASP.NET WebForms .NET 3.5 jQuery for AJAX ASMX web services Windows Authentication SSL When we run our production web application, our AJAX calls often have 2-3 HTTP 401s before we get our HTTP 200. Is this normal? Is there…
rick schott
  • 21,012
  • 5
  • 52
  • 81
7
votes
3 answers

Getting authenticate AD users objectGuid from asp.net

I am using windows authentication within an ASP.NET application. I am wondering how to best get the objectGuid from the currently logged in user? Regards, Egil.
Egil Hansen
  • 15,028
  • 8
  • 37
  • 54
7
votes
1 answer

Why is Windows Authentication working from local to server, but not server to server?

I have two sites, A and B. A consumes an API that B exposes, and B requires Windows authentication. Both sites live in Domain D. The API is consumed via HttpClient, and when site A is run locally, under my domain account (which is in Domain P),…
pala_
  • 8,901
  • 1
  • 15
  • 32
7
votes
2 answers

why does windows authentication / impersonation fail on asp.net application with iis 7.5 / windows 7 /

I'm troubleshooting why I can't get past the login dialog on an ASP.Net site configured for Windows Authentication and Impersonation. I have an ASP.Net 2.0 application and I'm trying to deploy it on Windows 7 with IIS 7.5. I've created a new site,…
7
votes
1 answer

ASP.NET 5 Custom roles for Windows Authentication

I'm building an intranet type site with ASP.NET 5 that uses Windows Authentication. I have the authentication working, but I don't want everyone on the domain to have access to the intranet site. I can't use domain roles so I've set up my own…
7
votes
0 answers

Ngrok + IIS Express and Windows Authentication

Im trying to expose a web application I have developed in ASP.NET MVC 5 through ngrok and Im having no luck with the Windows Authentication. My plan was to test the app using other VMs with IE8 (insert rage here) and a few mobile devices connecting…
7
votes
3 answers

Using Windows Role authentication in the App.config with WCF

I am using a WCF service and a net.tcp endpoint with serviceAuthentication's principal PermissionMode set to UseWindowsGroups. Currently in the implementation of the service i am using the PrincipalPermission attribute to set the role requirements…
user37444
  • 73
  • 1
  • 1
  • 4