m,Check out Part I of this thread (first post, second page) ...
OFF TOPIC - Shawn can you review a WSH script for me?
I coded a routine to set NTFS share permissions using WMI ... and like I said - it was very painful because there's no information out there ...
As well - the target server needs to have WMI installed. Windows 2000 servers come standard with WMI - NT servers need the retro WMI install ... bummer !
The failure to set share permissions in ADSI is - I believe - a fundamental limitation of the WinNT service provider interface. ADsSecurity helps - but it's not the silver bullet - should delve more to see if this is true ?
Check out the code - it is worthwhile to persue a WMI solution ?
-Shawn
By the way - I see you wrote a routine to do a little SID recontructive surgery (GetSID) ? Very slick and well done. If anything - (I/we) are learning quite a bit about NT internals ...
[ 22 August 2001: Message edited by: Shawn ]