Using LogonUser API in ASP.net with an account other than ASPNet account
From: nilapenn (nilapenn_at_gmail.com)
Date: 02/11/05
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: Asp.Net Web Service accessing file on UNC share"
- Previous message: Jan Peter Stotz: "Re: Asp.Net Web Service accessing file on UNC share"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Using LogonUser API in ASP.net with an account other than ASPNet account"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Using LogonUser API in ASP.net with an account other than ASPNet account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 11 Feb 2005 02:05:21 -0800
I am trying to use the LogonUser API function from ASP.Net. This works
fine on my machine which is Windows XP but fails with error code 1314
on windows 2000 server. I searched the web and found out that "Act as
part of operating system" is permission is needed for using LogonUser
API in windows 2000. When I give this permission to the asp.net account
it works fine. Since giving "Act as part of operating system" is a
security issue I created a local account with least privileges and gave
that "Act as part of operating system" permission to this account
and impersonated my asp.net application with this account. But still it
gives the same error. Any one has idea on how to user LogonUser by
giving "Act as part of operating system" to an account other than
ASP.Net?
Regards
Sriram.V
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: Asp.Net Web Service accessing file on UNC share"
- Previous message: Jan Peter Stotz: "Re: Asp.Net Web Service accessing file on UNC share"
- Next in thread: Joe Kaplan \(MVP - ADSI\): "Re: Using LogonUser API in ASP.net with an account other than ASPNet account"
- Reply: Joe Kaplan \(MVP - ADSI\): "Re: Using LogonUser API in ASP.net with an account other than ASPNet account"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|