windowsauthentication

Anybody have any success getting around IIS7 issues with WiX 3.5?

WiX 3.5 still is having issues with creating websites in IIS7. I can get around most of them, but I'm getting hosed by the inability to configure the website authentication mode. Traditionally, you would just use the WebDirProperties to, for instance, turn on windows authentication: <iis:WebDirProperties Id="OMFG3.5BUGSUX" WindowsAuth...

How to check whether a user belongs to an AD group and nested groups?

hi guys, I have an ASP.NET 3.5 application using Windows Authentication and implementing our own RoleProvider. Problem is we want to restrict access to a set of pages to a few thousand users and rathern than inputing all of those one by one we found out they belong to an AD group. The answer is simple if the common group we are checki...

Using IPrinciple.Identity.Name as a key in a dataBase to identify user's rows.

I'm writing a small intranet app that uses Windows Authentication and Asp.Net MVC. I need to store various bits of data in a db against each user. As far as I can tell the IPrinciple object does not seem to have something like a unique id. So I was thinking I could just use User.Identity.Name as a unique value to identify rows in my db. ...

System.Windows.Forms.WebBrowser login dialog doesn't appear

When I navigate to an intranet site requiring windows authentication, the WinForms WebBrowser control isn't displaying a login dialog. But it will display (after refreshing the page) if I first open Internet Explorer and view the same page. Also, if I make the URL refer to my local IIS instance, the login dialog will appear. Any ideas...

Windows Authentication for winforms with Windows 2000

I use the following code to validate users through windows authentication for my winform application. This works fine with windows XP but when the user is using windows 2000, it says that the userid or password is in valid. How do I do this in Windows 2000. Further, How do I detect whether the user is using Windows Xp or windows 2000...

NTLM Authentication fails ONLY with IE against 2k8 App server behind 2k8 IIS7 Reverse Proxy

I'm developing an ASP.NET application for an intranet site that is using Windows/NTLM/WIA/whatever authentication. The application is hosted on a Windows 2k8 server but is accessed through a Reverse Proxy using IIs7 on another 2k8 machine. Authentication works fine in FireFox, Chrome and Safari but fails in IE8. If I circumvent the Pr...

IIS7 & WIndows Authentication - authenticating to the wrong domain

I have an IIS 7 web app that is using Windows authentication. Currently, everything is set up correctly based on all that I've been able to find on the web. What's happening is when a user tries to get to that domain, they see the authentication popup, but they are being requested to authenticate to "servername.domain" instead of just t...

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 something we may be doing wrong? NOTE: The calls do not fail, the 401s try until they succe...

How to configure CruiseControl.Net for Windows Authentication?

Hi, I am using CruiseControl.Net for continuous integration which is now accessing the dashboard through login plugin, which in turn is authenticating and authorizing after verifying it with a set of users saved as XML file in the CruiseControl.Net server. Now, i need to bring in Windows Authentication to the system whereby which Cruis...

How get Current Username and password from windows operating System.

Story :- I have a motherboard CD provide by Intel original motherboard.When i try to install drivers it will be ask enter username and password of your administrator account. after Evetry driver install(Example Sound card) ,The System will be restart.And do not ask username and password. my idea: According above Windows shoud be provide...

How to convert from asp.net forms authentication to windows authentication

I've been asked to convert an asp.net application from forms authentication with roles using the aspnetdb database to use windows authentication instead. what is required to do this? can I still use the roles defined in the app and stored in aspnetdb? ...

Can I set up Windows Authentication in WebMatrix Beta 2?

I have an ASP.NET site where authentication mode="Windows". Just downloaded WebMatrix beta 2 yesterday, trying to debug my app. In WebMatrix, I'm getting 401 errors after pressing F5 in Visual Studio. Also in VS, getting "Unable to start debugging on the web server. An authentication error occurred while communication with the web serve...