Scott's Weblog The weblog of an IT pro specializing in cloud computing, virtualization, and networking, all with an open source view

Funky Active Directory Issue

I came across a funky Active Directory issue today. User objects stored in an OU on which permissions had been assigned were “losing” their permissions and their inheritance from the parent OU. For example, if the group “Support Team” had been granted a set of permissions on the OU “Sales”, then the user object “Bob Jones” stored in that OU would lose those permissions regularly. Even when the permissions were reassigned, they would disappear again.

It turns out that if the user object is a member, directly or indirectly, of a “protected group” (such as Server Operators, Backup Operators, or Administrators), then Active Directory automatically removes any inherited permissions, resets those permissions to the default, and turns off inheritance for those objects. The idea is to prevent possible elevation of privileges. This behavior is described in this KB article.

The fix? Well, you can muck around in Active Directory and play with the adminSDHolder object, or you can just not worry about delegations on those user objects, or you can remove those user objects from the protected group in question. In my particular case, the user objects needed to be taken out of the protected group anyway, so that was a natural fit.

Keep this in mind when planning AD delegations and the placement of accounts that will be members of a protected group.

Metadata and Navigation

Be social and share this post!