Re: Unable to prevent OU deletion by Domain Admins?

From: Josh (joshuabrown_at_gmail.com)
Date: 11/03/04


Date: 3 Nov 2004 09:34:47 -0800

Paul,

Not sure what you mean by your "other post," but what I'm pointing out
is that the behavior is improper. If you explicitly remove permission
inheritance on an object, then explicitly set DENY ACLs on that object
for a group, then the denied user or group should not be able to
perform the action that the ACL forbids. That's how ACLs work, or at
least how they are supposed to work. It is even worse when
Microsoft's own guidelines for parsing ACLs states that DENY ACLs
trump any allow ACLs; when you look at the ACLs on an object, it even
appears that you have accomplished what you want to
accomplish--protecting the object from deletion.

I understand that domain admins have the delete and delete subtree
rights at the domain level. But think of this in terms of files and
folders: I have a folder where Domain Users have Full control rights.
 Inside that folder I have a file, and onto that file I place a Deny
Delete ACL for Domain Users (or even for just a single user who is a
member of the Domain Users group). That ACL works as advertised, and
will deny that user/users the ability to delete the file. There
shouldn't be anything about a group--even a builtin group--that
overrides local security settings like that.

This isn't about trusting an admin. It's about the possibility that
something could be accidentally deleted (everyone makes mistakes,
especially during after hours recovery sessions, etc.). We should be
able to protect against that possibility, and Microsoft is removing
control from our hands and ignoring explicit security settings in a
very odd way.

"ptwilliams" <ptw2001@hotmail.com> wrote in message news:<O6ioUWRwEHA.1396@tk2msftngp13.phx.gbl>...
> As I said in my other post, this behaviour occurs because the domain admins
> group has the delete and delete subtree permission at the domain
> level -which overrides lower-level container object permissions -just like
> NTFS file and folder permissions.
>
> Trust is the issue here. And if anybody make the mistake of deleting an OU
> twice...well....
>
> Where's the change control processes, eh?? <g>
>
> --
>
> Paul Williams
>
> http://www.msresource.net
> http://forums.msresource.net
> ______________________________________
> "Josh" <joshuabrown@gmail.com> wrote in message
> news:e7d88c81.0411020810.12f124a3@posting.google.com...
> Mark,
>
> Thanks, but that doesn't really answer my question. We have a
> situation where we want to prevent a particular OU from being
> accidentally deleted. Trusting our domain admins doesn't prevent them
> from making very human mistakes. This looks like a bug to me--why can
> I not create an OU that denies deletion rights to domain admins, when
> the ACL appears that is should do precisely that?
>
> I challenge anyone to try what I have outlined above and get it to
> properly deny deletion rights. If this right is not working properly,
> how am I to have confidence in any of our settings? Deny rights is as
> important as allow rights, if not more so, since deny rights are
> supposed to trump allow rights.
>
> Josh
>
> "Mark Renoden [MSFT]" <markreno@online.microsoft.com> wrote in message
> news:<uP56r$FwEHA.1988@TK2MSFTNGP12.phx.gbl>...
> > Hi Josh
> >
> > It's better practice to give rights to a group of users rather than take
> > them away from Domain Admins. You should never alter the rights of a
> > builtin group or user. You're better off creating a group for the purpose
> > of administering OU's, delegating permissions to this group and keeping
> > your
> > Domain Admins group to a very select few that can be trusted.
> >
> > Kind regards
> > --
> > Mark Renoden [MSFT]
> > Windows Platform Support Team
> > Email: markreno@online.microsoft.com
> >
> > Please note you'll need to strip ".online" from my email address to email
> > me; I'll post a response back to the group.
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> >
> > "Josh" <joshuabrown@gmail.com> wrote in message
> > news:e7d88c81.0411011409.c1d654b@posting.google.com...
> > >I am trying (unsuccessfully) to prevent accidental deletion of several
> > > OUs by our domain admins. For testing purposes, I have done this:
> > >
> > > 1) Create new OU, removed inheritance of permissions.
> > > 2) Removed all groups from the permissions
> > > 3) Added Domain Admins with Full Control
> > > 4) Explicity set Deny rights for Domain Admins for Delete, Delete
> > > Subtree, and Delete Organizational Object.
> > >
> > > Create new user, add user to Domain Admins. Log in with user, and the
> > > OU can be deleted without warning.
> > >
> > > The only way I have gotten this to work is by creating a user in the
> > > OU that I want to protect, and setting Deny All rights for the Domain
> > > Admins group on that user. That prevents Domain Admins from deleting
> > > the parent OU, but it is a pretty bad solution...and it doesn't
> > > explain why the Domain Admins can delete the OU when all relevant
> > > deletion ACLs are set to Deny.
> > >
> > > Any thoughts?



Relevant Pages

  • Re: Unable to prevent OU deletion by Domain Admins?
    ... > that DENY ACLs trump any allow ACLs ... Deny permissions take precedence over allow ... the list of permission entries in the DACL. ... I understand that domain admins have the delete and delete subtree rights at the domain level. ...
    (microsoft.public.win2000.active_directory)
  • Re: Unable to prevent OU deletion by Domain Admins?
    ... >> that DENY ACLs trump any allow ACLs ... Deny permissions take precedence over allow ... > the list of permission entries in the DACL. ... > You could modify the default domain admins permissions so that they no ...
    (microsoft.public.win2000.active_directory)
  • Re: Unable to prevent OU deletion by Domain Admins?
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... >>>> It is even worse when Microsoft's own guidelines for parsing ACLs ... >>>> that DENY ACLs trump any allow ACLs ... >>> the list of permission entries in the DACL. ...
    (microsoft.public.win2000.active_directory)
  • Re: Grant Administrative Access to a Domain Controller
    ... it isn't a simple case of Deny overrides Grant. ... Administrators/Domain Admins are granted explicit rights all over the directory. ... Second, on a DC, anyone with admin level rights can do pretty much anything they want. ... Domain Admins privledges, same if you Deny them access. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Unable to prevent OU deletion by Domain Admins?
    ... Trusting our domain admins doesn't prevent them ... properly deny deletion rights. ...
    (microsoft.public.win2000.active_directory)