HighTechTalks DotNet Forums  

ADS_RIGHTS_ENUM vs. ActiveDirectoryRights

Dotnet Security microsoft.public.dotnet.security


Discuss ADS_RIGHTS_ENUM vs. ActiveDirectoryRights in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Tony Cheung
 
Posts: n/a

Default ADS_RIGHTS_ENUM vs. ActiveDirectoryRights - 09-18-2007 , 03:11 AM






Hi all,

Currently I am using some legacy scripts for rights delegation and am
developing some new .Net application for presenting those delegated rights.

They works fine alone, but when I try to delegate a ADS_RIGHT_GENERIC_READ
to some objects using vbscript and read it from .Net Framework, which I
suppose it return the ActiveDirectoryRights.GenericRead in the managed
world. However, I am wrong. After some study on the value, I discovered that
their hex value are different,
ADS_RIGHT_GENERIC_READ = 0x80000000
ActiveDirectoryRights.GenericRead = 0x00020094

That's why my .Net application fails to recognize those GENERIC_READ ace
granted in vbscript.

Could anyone please explain how should I match those GENERIC permissions in
the two worlds?

Thanks for your help!

Cheers,
Tony



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.