Alain,
Superb, setting the options in advance allowed me to get the SACLs correctly. Pity that it doesn't seem to be reflected in any other literature.
Virtual pint on it's way or at least a purchase of your book!
Thanks,
Paul.
From: "Alain Lissoir" <[EMAIL PROTECTED]>
Subject: RE: [ActiveDir] scripting sacls
Date: Thu, 5 May 2005 15:24:31 -0700
Reply-To: [email protected]
This is a multi-part message in MIME format.
------=_NextPart_000_011A_01C55186.892AACB0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Paul,
make sure you include the statement:
objADObject.SetOption ADS_OPTION_SECURITY_MASK,
ADS_SECURITY_INFO_OWNER Or _
ADS_SECURITY_INFO_GROUP
Or _
ADS_SECURITY_INFO_DACL Or
_
ADS_SECURITY_INFO_SACL
Set objSD = objADObject.Get("ntSecurityDescriptor")
Subject: RE: [ActiveDir] scripting sacls
Date: Thu, 5 May 2005 15:24:31 -0700
Reply-To: [email protected]
This is a multi-part message in MIME format.
------=_NextPart_000_011A_01C55186.892AACB0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Paul,
make sure you include the statement:
objADObject.SetOption ADS_OPTION_SECURITY_MASK,
ADS_SECURITY_INFO_OWNER Or _
ADS_SECURITY_INFO_GROUP
Or _
ADS_SECURITY_INFO_DACL Or
_
ADS_SECURITY_INFO_SACL
Set objSD = objADObject.Get("ntSecurityDescriptor")
