> Hi,
>
[quoted text clipped - 5 lines]
>
> I use VBScript, anybody have an idea?
Hi David,
You can use the cmd-tool dsacls to do that - it's much easier even
calling it from a VBS than messing with the DACLs directly in VBS.
To get a feeling/example on how to modify DACLs in VBS look at the code
I've posted on
http://www.windowsserverfaq.org/faq/CompACLs.asp
--
Gruesse - Sincerely,
Ulf B. Simon-Weidner
MVP-Book "Windows XP - Die Expertentipps": http://tinyurl.com/44zcz
Weblog: http://msmvps.org/UlfBSimonWeidner
Website: http://www.windowsserverfaq.org
Bilb0 - 29 Jul 2005 16:42 GMT
Hi Ulf,
Ok.. but I still need the objAce.AceType of the Create/Delete computer
object... like:
Const ADS_RIGHT_DS_CREATE_CHILD = &H1
Const ADS_ACETYPE_ACCESS_ALLOWED_OBJECT = &H5
Const ADS_FLAG_OBJECT_TYPE_PRESENT = &H1
Const ADS_FLAG_INHERITED_OBJECT_TYPE_PRESENT = &H2
Const ADS_RIGHT_DS_CONTROL_ACCESS = &H100
...
Can you help me please?
Ulf B. Simon-Weidner [MVP] - 29 Jul 2005 16:57 GMT
Hi David,
the easiest way is to set the needed permissions on a test-ou, then you can
use part of the script to display the ACLs of this OU, filter out the stuff
you need and write a script to apply exactly those settings to any other OU.
That's how I'd do it.
Ulf
> Hi Ulf,
>
[quoted text clipped - 9 lines]
>
> Can you help me please?
Bilb0 - 29 Jul 2005 20:57 GMT
Hi Ulf,
Thanks for your help, it's work great now :)
Bye
David
Ulf B. Simon-Weidner [MVP] - 29 Jul 2005 22:40 GMT
> Hi Ulf,
>
> Thanks for your help, it's work great now :)
You're welcome, thanks for the feedback!
Ulf