Ask a Question related to ASP.NET Security, Design and Development.
-
Nimi #1
LogonUser failed error
When I run my application , the LogonUser method fails the exception is
"LogonUser failed with error code :1314".
I know the error is because of some privileges .
I am using Windows 2000 sp4. I have not enabled the SE_TCB_NAME previlege.
Do we need to enable this ?
I enabled privileges using this:
ManagementObject mo = new ManagementObject(new ManagementPath( ));
mo.Scope.Options.EnablePrivileges = true;
I am still getting this same error.
I also checked System.Security.Principal.WindowsIdentity().GetCur rent.Name
It returns "@\machine_name\ASPNET"
But to the user "ABC" I have enabled the TCB privileges .
What am I missing ?
Nimi Guest
-
Error 403 Failed to read heders Error for long-runningCFMAIL and CFINDEX command
I have two different pages with long-running scripts on which I am recieving the following error: Error - 403 Failed to read headers to server:... -
midl\oleaut32.dll : error MIDL2020 : error generating type library : LayOut failed : IXMLDOMNode
Hi there Im new to C++ and have inherited a C++ dll that wont compile. Its coplaing about the following midl\oleaut32.dll : error MIDL2020 :... -
LogonUser failed with error code : 1314
Im trying to programmatically authenticate a user against NT under windows 2000. I use the LogonUser API. Realizing that the call needs SYSTEM... -
Dialer Failed Error on tty2a I/O Error 5
Hello, I have a SCO OS 5.05 server with a modem to allow dial-in access for people off-site. Recently, it is acting up and not remaining enabled.... -
An error occurred while try to load the string resources (GetModuleHandle failed with error -2147023888)
Hello, on one of our customers servers we get following error on first ASPX-page: An error occurred while try to load the string resources... -
Martin Dechev #2
Re: LogonUser failed error
Hi,
If I understand correctly that you are trying to invoke LogonUser (in
AdvApi32.dll), the documentation for the function clearly states that for
Windows 2000 the process calling LogonUser needs to have SE_TCB_NAME (Act as
part of the operating system) privilege.
[url]http://msdn.microsoft.com/library/en-us/secauthn/security/logonuser.asp[/url]
(in the remarks section)
Greetings
Martin
"Nimi" <anonymous@discussions.com> wrote in message
news:OPwOqxesEHA.3412@TK2MSFTNGP14.phx.gbl...previlege.> When I run my application , the LogonUser method fails the exception is
> "LogonUser failed with error code :1314".
> I know the error is because of some privileges .
>
> I am using Windows 2000 sp4. I have not enabled the SE_TCB_NAME> Do we need to enable this ?
>
> I enabled privileges using this:
>
> ManagementObject mo = new ManagementObject(new ManagementPath( ));
> mo.Scope.Options.EnablePrivileges = true;
>
> I am still getting this same error.
>
>
> I also checked System.Security.Principal.WindowsIdentity().GetCur rent.Name
> It returns "@\machine_name\ASPNET"
>
> But to the user "ABC" I have enabled the TCB privileges .
>
> What am I missing ?
>
>
>
Martin Dechev Guest



Reply With Quote

