Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
355 B

set l = CreateObject("WbemScripting.SWbemLocator")
set s = l.Open ("umi://nw01t1/ldap","nw01t1domnb\administrator","nw01t1domnb")
set c = CreateObject("WbemScripting.SWbemNamedValueSet")
c.Add "INCLUDE_OWNER", true
c.Add "INCLUDE_DACL", true
C.Add "INCLUDE_GROUP", true
set u = s.Get (".ou=AjayTest", 16384, c)
set sd = u.GetSecurityDescriptor_