Question about privileges required to call LoadUserProfile from ASP.NET webservice

Ask a Question related to ASP.NET Security, Design and Development.
  1. #1

    Default Question about privileges required to call LoadUserProfile from ASP.NET webservice

    I am trying to call LoadUserProfile from within an ASP.NET webservice. I
    have set the process to run under an impersonated account that is an
    administrator -- however, everytime I try to execute the LoadUserProfile
    call, I get a message saying that a "Required privlege is not help by
    client" or something very close to that message.

    I have tried adding to the process and user handle the SeTcbPrivilege,
    SeChangeNotifyPrivilege, as well as just about every other privilege that I
    can think of. But still keep getting the same error.

    Can anyone offer anything thoughts or suggestions?

    Thanks
    Shawn Anderson


    Shawn Anderson Guest

  2. Similar Questions and Discussions

    1. required arguments in Flex 1.5 - kills webservice
      I am running Flex1.5 with Tomcat 5.0. I dropped the samples.war file in webapps and everything worked great. I am planning to use on example, the...
    2. WebService Proxy Error: Positive number required
      We are attempting to utilize a J2EE\IBM WSA webservice and on the oneway method call I get the following exception ...
    3. Service unavailable on First call in synchronous mode only! question for webservice.htc gurus.
      Hi, This is a interesting problem. I got webservice.htc integrated pretty well with .net framework. I wrote a control that generates all the...
    4. Webservice API Call
      I get the following error below upon attempts to access a webservice that attempts to call advapi32.dll I believe this to be a security issue yet...
    5. Call COM from .NET WebService Help
      We are trying to access a COM object from our .NET WebService, but we get System.RunTime.Interopservices.COMException 0x80010105 everytime. We also...
  3. #2

    Default Re: Question about privileges required to call LoadUserProfile from ASP.NET webservice

    If you enable auditing for privilege usage in secpol.msc,
    you should have the name of the missing privilege in the Security Event Log
    file.

    --
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Use of any included script samples are subject to the terms specified at
    http://www.microsoft.com/info/cpyright.htm


    "Shawn Anderson" <sanderson@eye-catcher.com> wrote in message
    news:OfDTTpKhEHA.596@TK2MSFTNGP11.phx.gbl...
    > I am trying to call LoadUserProfile from within an ASP.NET webservice. I
    > have set the process to run under an impersonated account that is an
    > administrator -- however, everytime I try to execute the LoadUserProfile
    > call, I get a message saying that a "Required privlege is not help by
    > client" or something very close to that message.
    >
    > I have tried adding to the process and user handle the SeTcbPrivilege,
    > SeChangeNotifyPrivilege, as well as just about every other privilege that
    I
    > can think of. But still keep getting the same error.
    >
    > Can anyone offer anything thoughts or suggestions?
    >
    > Thanks
    > Shawn Anderson
    >
    >

    Ivan Brugiolo [MSFT] Guest

  4. #3

    Default Re: Question about privileges required to call LoadUserProfile from ASP.NET webservice

    The suggestion was a good one, however for some reason no error/failure is
    displayed on any of the systems I am testing on.


    "Ivan Brugiolo [MSFT]" <ivanbrug@online.microsoft.com> wrote in message
    news:eEJm$APhEHA.3548@TK2MSFTNGP09.phx.gbl...
    > If you enable auditing for privilege usage in secpol.msc,
    > you should have the name of the missing privilege in the Security Event
    > Log
    > file.
    >
    > --
    > This posting is provided "AS IS" with no warranties, and confers no
    > rights.
    > Use of any included script samples are subject to the terms specified at
    > http://www.microsoft.com/info/cpyright.htm
    >
    >
    > "Shawn Anderson" <sanderson@eye-catcher.com> wrote in message
    > news:OfDTTpKhEHA.596@TK2MSFTNGP11.phx.gbl...
    >> I am trying to call LoadUserProfile from within an ASP.NET webservice. I
    >> have set the process to run under an impersonated account that is an
    >> administrator -- however, everytime I try to execute the LoadUserProfile
    >> call, I get a message saying that a "Required privlege is not help by
    >> client" or something very close to that message.
    >>
    >> I have tried adding to the process and user handle the SeTcbPrivilege,
    >> SeChangeNotifyPrivilege, as well as just about every other privilege that
    > I
    >> can think of. But still keep getting the same error.
    >>
    >> Can anyone offer anything thoughts or suggestions?
    >>
    >> Thanks
    >> Shawn Anderson
    >>
    >>
    >
    >

    Shawn Anderson Guest

  5. #4

    Default Re: Question about privileges required to call LoadUserProfile from ASP.NET webservice

    From MSDN
    (http://msdn.microsoft.com/library/de...serprofile.asp)
    The calling process must have the SE_RESTORE_NAME and SE_BACKUP_NAME
    privileges. For more information, see Running with Special Privileges.

    It doesn't matter what your client has for privileges, this operation
    requires
    that your process have these privileges, which are not typically granted to
    a web service.



    "Shawn Anderson" <sanderson@eye-catcher.com> wrote in message
    news:%234TATEZhEHA.3916@TK2MSFTNGP11.phx.gbl...
    > The suggestion was a good one, however for some reason no error/failure is
    > displayed on any of the systems I am testing on.
    >
    >
    > "Ivan Brugiolo [MSFT]" <ivanbrug@online.microsoft.com> wrote in message
    > news:eEJm$APhEHA.3548@TK2MSFTNGP09.phx.gbl...
    >> If you enable auditing for privilege usage in secpol.msc,
    >> you should have the name of the missing privilege in the Security Event
    >> Log
    >> file.
    >>
    >> --
    >> This posting is provided "AS IS" with no warranties, and confers no
    >> rights.
    >> Use of any included script samples are subject to the terms specified at
    >> http://www.microsoft.com/info/cpyright.htm
    >>
    >>
    >> "Shawn Anderson" <sanderson@eye-catcher.com> wrote in message
    >> news:OfDTTpKhEHA.596@TK2MSFTNGP11.phx.gbl...
    >>> I am trying to call LoadUserProfile from within an ASP.NET webservice. I
    >>> have set the process to run under an impersonated account that is an
    >>> administrator -- however, everytime I try to execute the LoadUserProfile
    >>> call, I get a message saying that a "Required privlege is not help by
    >>> client" or something very close to that message.
    >>>
    >>> I have tried adding to the process and user handle the SeTcbPrivilege,
    >>> SeChangeNotifyPrivilege, as well as just about every other privilege
    >>> that
    >> I
    >>> can think of. But still keep getting the same error.
    >>>
    >>> Can anyone offer anything thoughts or suggestions?
    >>>
    >>> Thanks
    >>> Shawn Anderson
    >>>
    >>>
    >>
    >>
    >
    >

    Richard Ward Guest

  6. #5

    Default Re: Question about privileges required to call LoadUserProfile from ASP.NET webservice

    Thanks but I saw that already :)

    I have verifiied that both the calling process and calling thread have the
    privilege.

    Shawn

    "Richard Ward" <richardw@delete-yellow-dogs.com> wrote in message
    news:10igjevclj410b7@corp.supernews.com...
    > From MSDN
    > (http://msdn.microsoft.com/library/de...serprofile.asp)
    > The calling process must have the SE_RESTORE_NAME and SE_BACKUP_NAME
    > privileges. For more information, see Running with Special Privileges.
    >
    > It doesn't matter what your client has for privileges, this operation
    > requires
    > that your process have these privileges, which are not typically granted
    > to
    > a web service.
    >
    >
    >
    > "Shawn Anderson" <sanderson@eye-catcher.com> wrote in message
    > news:%234TATEZhEHA.3916@TK2MSFTNGP11.phx.gbl...
    >> The suggestion was a good one, however for some reason no error/failure
    >> is displayed on any of the systems I am testing on.
    >>
    >>
    >> "Ivan Brugiolo [MSFT]" <ivanbrug@online.microsoft.com> wrote in message
    >> news:eEJm$APhEHA.3548@TK2MSFTNGP09.phx.gbl...
    >>> If you enable auditing for privilege usage in secpol.msc,
    >>> you should have the name of the missing privilege in the Security Event
    >>> Log
    >>> file.
    >>>
    >>> --
    >>> This posting is provided "AS IS" with no warranties, and confers no
    >>> rights.
    >>> Use of any included script samples are subject to the terms specified at
    >>> http://www.microsoft.com/info/cpyright.htm
    >>>
    >>>
    >>> "Shawn Anderson" <sanderson@eye-catcher.com> wrote in message
    >>> news:OfDTTpKhEHA.596@TK2MSFTNGP11.phx.gbl...
    >>>> I am trying to call LoadUserProfile from within an ASP.NET webservice.
    >>>> I
    >>>> have set the process to run under an impersonated account that is an
    >>>> administrator -- however, everytime I try to execute the
    >>>> LoadUserProfile
    >>>> call, I get a message saying that a "Required privlege is not help by
    >>>> client" or something very close to that message.
    >>>>
    >>>> I have tried adding to the process and user handle the SeTcbPrivilege,
    >>>> SeChangeNotifyPrivilege, as well as just about every other privilege
    >>>> that
    >>> I
    >>>> can think of. But still keep getting the same error.
    >>>>
    >>>> Can anyone offer anything thoughts or suggestions?
    >>>>
    >>>> Thanks
    >>>> Shawn Anderson
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

    Shawn Anderson Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139