Re: Impersonation error "A required privillege is not held by the client"

From: Allen (agj@bigfoot.com)
Date: 12/31/02


From: "Allen" <agj@bigfoot.com>
Date: Tue, 31 Dec 2002 02:35:32 -0000

Hethu,

Try granting the user under which the process is running the "Act as part of the operating system" privilege.

Regards
Allen
  "Hethu Nanayakara" <hethu@lanka.com> wrote in message news:eI73f##rCHA.1080@TK2MSFTNGP10...
  I want to access a UNC shared folder from a WebService.
  To do this, I impersonate the Asp.NET process in Web.config as below:

      <identity impersonate="true" userName="domain\username" password="password" />

  The user has Admin rights on the local machine.

  However, this generates the following error:

  "Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'A required privilege is not held by the client."

  Can anyone tell me what I am doing wrong here?
  Thanks
  Hethu



Relevant Pages

  • Re: SQL Integrated Security in .NET
    ... Act as part of the operating system privilege is ... > identity of the iisusr is changed to a domain account that ...
    (microsoft.public.dotnet.security)
  • Re: SQL Integrated Security in .NET
    ... Act as part of the operating system privilege is ... > identity of the iisusr is changed to a domain account that ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Unable to assign SeTcbPrivilege (SE_TCB_NAME)!?!?
    ... it seems the process token making the call to LogonUser ... "Act as part of the operating system" aka SeTcbPrivilege aka SE_TCB_NAME... ... I see that my process token still does not have the desired privilege ...
    (microsoft.public.win2000.security)
  • Unable to assign SeTcbPrivilege (SE_TCB_NAME)!?!?
    ... it seems the process token making the call to LogonUser ... "Act as part of the operating system" aka SeTcbPrivilege aka SE_TCB_NAME... ... I see that my process token still does not have the desired privilege ...
    (microsoft.public.security)
  • Re: Impersonation error "A required privillege is not held by the client"
    ... How / Where do I set the "Act as part of the operating system" privilege? ... Hethu, ... Regards ...
    (microsoft.public.dotnet.framework.aspnet.security)