Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 08, 2009 09:37 PM by bohunt
Member
2 Points
2 Posts
Jul 20, 2009 07:28 AM|LINK
Hi Friends,
I want to enable Windows authentication in my Time tracker application.
Did the following settings in web.config.
<add key="UserAccountSource" value="WindowsSAM" />
<authentication mode="Windows" /> <!-- IMPERSONATION To gain access to an Active Directory, the ASPNET process must impersonate an dentity that has sufficient access rights. --> <identity impersonate="false" userName="MyDomain\UserNameWithAccessToAD" password="" />
But, Authentication was not successful. Error message:
HTTP 401.1 - Unauthorized: Logon Failed Internet Information Services
Do I need to make any change to database table 'aspnet_users' or 'aspnet_membership' in order to make the windows auth work.
Or
Do I need to create a new class 'XYZUser' for the same purpose.
please guide me to enable windows auth in Time Tracker application.
Thanks,
Anil Kumar
eranil84@gmail.com
Timer Functionality
482 Points
300 Posts
Aug 08, 2009 09:37 PM|LINK
Try this link - it could help: http://msdn.microsoft.com/en-us/library/ms998358.aspx
But it looks as if, after looking breifly at the link I've given you, that you need to set impersonate to true...
Good luck!
eranil84
Member
2 Points
2 Posts
Change Authentication to Windows
Jul 20, 2009 07:28 AM|LINK
Hi Friends,
I want to enable Windows authentication in my Time tracker application.
Did the following settings in web.config.
<add key="UserAccountSource" value="WindowsSAM" />
<authentication mode="Windows" />
<!-- IMPERSONATION
To gain access to an Active Directory, the ASPNET process must impersonate an dentity
that has sufficient access rights.
-->
<identity impersonate="false" userName="MyDomain\UserNameWithAccessToAD"
password="" />
But, Authentication was not successful. Error message:
HTTP 401.1 - Unauthorized: Logon Failed
Internet Information Services
Do I need to make any change to database table 'aspnet_users' or 'aspnet_membership' in order to make the windows auth work.
Or
Do I need to create a new class 'XYZUser' for the same purpose.
please guide me to enable windows auth in Time Tracker application.
Thanks,
Anil Kumar
eranil84@gmail.com
<div></div>
Timer Functionality
bohunt
Member
482 Points
300 Posts
Re: Change Authentication to Windows
Aug 08, 2009 09:37 PM|LINK
Try this link - it could help: http://msdn.microsoft.com/en-us/library/ms998358.aspx
But it looks as if, after looking breifly at the link I've given you, that you need to set impersonate to true...
Good luck!
I hope my post helps.