Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Question about privileges required to call LoadUserProfile from ASP.NET webservice

Reply
Thread Tools

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

 
 
Shawn Anderson
Guest
Posts: n/a
 
      08-17-2004
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


 
Reply With Quote
 
 
 
 
Ivan Brugiolo [MSFT]
Guest
Posts: n/a
 
      08-18-2004
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" <> wrote in message
news:...
> 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
>
>



 
Reply With Quote
 
 
 
 
Shawn Anderson
Guest
Posts: n/a
 
      08-19-2004
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]" <> wrote in message
news:eEJm$...
> 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" <> wrote in message
> news:...
>> 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
>>
>>

>
>



 
Reply With Quote
 
Shawn Anderson
Guest
Posts: n/a
 
      08-23-2004
Thanks but I saw that already

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

Shawn

"Richard Ward" <> wrote in message
news:...
> 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" <> wrote in message
> news:%...
>> 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]" <> wrote in message
>> news:eEJm$...
>>> 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" <> wrote in message
>>> news:...
>>>> 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
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
question on access privileges for containment of a class alsoprivately derived from galathaea C++ 6 01-08-2009 09:34 AM
Asynchronous Call of WebService method within a WebService René Preußler ASP .Net Web Services 0 10-29-2008 11:55 AM
Problem to call a WEBSERVICE in another WEBSERVICE (AXIS/ TOMCAT) Cyril Java 2 06-01-2006 06:07 PM
program requires admin privileges nospam Wireless Networking 9 07-21-2005 04:59 PM
Wi-Fi privileges for users nospam Wireless Networking 1 01-30-2005 03:13 AM



Advertisments
 



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