maartenw - usenet poster
Rank: Apprentice
Rating: 0%, 0 votes
Thanks guys. I apologize, /resetDefaultDACL and /resetDefaultSACL only work
in ADAM now. I added this so long ago, I thought it was also in w2k3. But it
is not. It should be in Longhorn though.
The idea is to tell DS that you are setting the DACL (or SACL) via SD flags
control, but pass in an SD value without DACL (SACL) present. That would
indicate the intention to reset to default, to be performed on the server,
which is a more correct way than expanding the SDDL string on the client
(that's how /S works). So, this server-side reset currently works for ADAM
only.
BTW, both AD and ADAM support this functionality for OWNER field. Thus, if
you pass SD flags as 1 but your SD does not have an owner, then AD will
invoke the "SetDefaultOwner" procedure.
/takenOwnership should be /takeOwnership. Only the help text is wrong, the
actual flag is /takeOwnership. And they don't have to be upper-case, at
least not in ADAM's version of dsacls. I fixed the help text in ADAM SP1.
--
Dmitri Gavrilov
SDE, Active Directory Core
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/ cpyright.htm