Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Server Security > Implication of using the Manager attrib to the User Obj

Reply
Thread Tools Display Modes

Implication of using the Manager attrib to the User Obj

 
 
Walter D''''Souza
Guest
Posts: n/a

 
      02-17-2009
I cannot find any documentation on the implication of adding a user to the
Manager attribute to the User object.

Thank you.
 
Reply With Quote
 
 
 
 
Al Dunbar
Guest
Posts: n/a

 
      02-17-2009

"Walter D''''Souza" <> wrote in
message news:F7F9CED6-68E5-4534-B6AD-...
>I cannot find any documentation on the implication of adding a user to the
> Manager attribute to the User object.


As I understand it, managedBy is a one-to-many relationship that can be used
to represent the hierarchical relationship of user accounts in an
organization. I do not know if this confers any sort of privilege on the
manager that would allow, for example, a manager to manage the accounts of
those reporting to him or her.

The manager of a distribution list can be allowed to modify the membership
of the list (typically using the email client). I tried this on a security
group and found that the manager account seemed to have no privileged
whatsoever as a result of being declared manager. I strongly suspect that
would be the same for managers of user accounts.

/Al


 
Reply With Quote
 
Walter D''''Souza
Guest
Posts: n/a

 
      02-18-2009
Al I greatly appreciate your response. I did test this to make sure that a
manager could not get to others mail or have privilidges. However, I just
wanted to be sure that there would be no security implications down the road.
It would have been nice if Microsoft had a matrix on what the various
attributes are and its role in either application or OS. I hope Microsoft
Engineers pick this up.

Thanks again Al.

....Walter

"Al Dunbar" wrote:

>
> "Walter D''''Souza" <> wrote in
> message news:F7F9CED6-68E5-4534-B6AD-...
> >I cannot find any documentation on the implication of adding a user to the
> > Manager attribute to the User object.

>
> As I understand it, managedBy is a one-to-many relationship that can be used
> to represent the hierarchical relationship of user accounts in an
> organization. I do not know if this confers any sort of privilege on the
> manager that would allow, for example, a manager to manage the accounts of
> those reporting to him or her.
>
> The manager of a distribution list can be allowed to modify the membership
> of the list (typically using the email client). I tried this on a security
> group and found that the manager account seemed to have no privileged
> whatsoever as a result of being declared manager. I strongly suspect that
> would be the same for managers of user accounts.
>
> /Al
>
>
>

 
Reply With Quote
 
Joe Kaplan
Guest
Posts: n/a

 
      02-18-2009
ManagedBy is confusing because if you change it in the ADUC GUI, ADUC will
actually try to change the permissions on the object to allow the user
pointed to by the attribute value so that this user can modify the group
membership. However, this is only done by the GUI. If you change the value
programmatically, nothing happens (unless you also programmatically change
the ACL). Also, if you programmatically change the ACL but don't set the
managedBy, the user in the ACL change will have the permissions.

Essentially, managedBy has nothing to do with the actual directory
permission model.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"Walter D''''Souza" <> wrote in
message newsECD6977-58A9-49B4-84FC-...
> Al I greatly appreciate your response. I did test this to make sure that
> a
> manager could not get to others mail or have privilidges. However, I
> just
> wanted to be sure that there would be no security implications down the
> road.
> It would have been nice if Microsoft had a matrix on what the various
> attributes are and its role in either application or OS. I hope Microsoft
> Engineers pick this up.
>
> Thanks again Al.
>
> ...Walter
>
> "Al Dunbar" wrote:
>
>>
>> "Walter D''''Souza" <> wrote in
>> message news:F7F9CED6-68E5-4534-B6AD-...
>> >I cannot find any documentation on the implication of adding a user to
>> >the
>> > Manager attribute to the User object.

>>
>> As I understand it, managedBy is a one-to-many relationship that can be
>> used
>> to represent the hierarchical relationship of user accounts in an
>> organization. I do not know if this confers any sort of privilege on the
>> manager that would allow, for example, a manager to manage the accounts
>> of
>> those reporting to him or her.
>>
>> The manager of a distribution list can be allowed to modify the
>> membership
>> of the list (typically using the email client). I tried this on a
>> security
>> group and found that the manager account seemed to have no privileged
>> whatsoever as a result of being declared manager. I strongly suspect that
>> would be the same for managers of user accounts.
>>
>> /Al
>>
>>
>>


 
Reply With Quote
 
Walter D''''Souza
Guest
Posts: n/a

 
      02-20-2009
Joe,
Thank you for your response. I agree with you it is confusing. I have
done that on the group objects and there is a checkbox to modify the list.
By first glance because it works on groups I would assume the behaviour is
the same on user objects.
But on the user objectI do not seem to be able to edit anything by the
manager. Which is what I am looking for.

...Walter

"Joe Kaplan" wrote:

> ManagedBy is confusing because if you change it in the ADUC GUI, ADUC will
> actually try to change the permissions on the object to allow the user
> pointed to by the attribute value so that this user can modify the group
> membership. However, this is only done by the GUI. If you change the value
> programmatically, nothing happens (unless you also programmatically change
> the ACL). Also, if you programmatically change the ACL but don't set the
> managedBy, the user in the ACL change will have the permissions.
>
> Essentially, managedBy has nothing to do with the actual directory
> permission model.
>
> --
> Joe Kaplan-MS MVP Directory Services Programming
> Co-author of "The .NET Developer's Guide to Directory Services Programming"
> http://www.directoryprogramming.net
> "Walter D''''Souza" <> wrote in
> message newsECD6977-58A9-49B4-84FC-...
> > Al I greatly appreciate your response. I did test this to make sure that
> > a
> > manager could not get to others mail or have privilidges. However, I
> > just
> > wanted to be sure that there would be no security implications down the
> > road.
> > It would have been nice if Microsoft had a matrix on what the various
> > attributes are and its role in either application or OS. I hope Microsoft
> > Engineers pick this up.
> >
> > Thanks again Al.
> >
> > ...Walter
> >
> > "Al Dunbar" wrote:
> >
> >>
> >> "Walter D''''Souza" <> wrote in
> >> message news:F7F9CED6-68E5-4534-B6AD-...
> >> >I cannot find any documentation on the implication of adding a user to
> >> >the
> >> > Manager attribute to the User object.
> >>
> >> As I understand it, managedBy is a one-to-many relationship that can be
> >> used
> >> to represent the hierarchical relationship of user accounts in an
> >> organization. I do not know if this confers any sort of privilege on the
> >> manager that would allow, for example, a manager to manage the accounts
> >> of
> >> those reporting to him or her.
> >>
> >> The manager of a distribution list can be allowed to modify the
> >> membership
> >> of the list (typically using the email client). I tried this on a
> >> security
> >> group and found that the manager account seemed to have no privileged
> >> whatsoever as a result of being declared manager. I strongly suspect that
> >> would be the same for managers of user accounts.
> >>
> >> /Al
> >>
> >>
> >>

>
>

 
Reply With Quote
 
Joe Kaplan
Guest
Posts: n/a

 
      02-20-2009
Unfortunately, what you really need to be doing is delegating permissions.
This little piece of functionality in ADUC doesn't really apply to your use
case.

The key thing to decide is what you would want the user set up as manager to
actually be able to modify. There are many more options for users than with
groups, so this is a more difficult choice to make. For example, you could
allow changing of all sorts of account info or demographics details,
password reset, disable/enable, etc. If you decided exactly what you wanted
the manager person to be able to do, then you could script the changes to
the ACL. Alternately, if your delegation model permitted, you might
consider grouping users under OUs by manager so that you could delegate
inheritable permissions from the parent container.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"Walter D''''Souza" <> wrote in
message news:BB79DCD2-C797-4972-AA97-...
> Joe,
> Thank you for your response. I agree with you it is confusing. I have
> done that on the group objects and there is a checkbox to modify the list.
> By first glance because it works on groups I would assume the behaviour is
> the same on user objects.
> But on the user objectI do not seem to be able to edit anything by the
> manager. Which is what I am looking for.
>
> ..Walter
>
> "Joe Kaplan" wrote:
>
>> ManagedBy is confusing because if you change it in the ADUC GUI, ADUC
>> will
>> actually try to change the permissions on the object to allow the user
>> pointed to by the attribute value so that this user can modify the group
>> membership. However, this is only done by the GUI. If you change the
>> value
>> programmatically, nothing happens (unless you also programmatically
>> change
>> the ACL). Also, if you programmatically change the ACL but don't set the
>> managedBy, the user in the ACL change will have the permissions.
>>
>> Essentially, managedBy has nothing to do with the actual directory
>> permission model.
>>
>> --
>> Joe Kaplan-MS MVP Directory Services Programming
>> Co-author of "The .NET Developer's Guide to Directory Services
>> Programming"
>> http://www.directoryprogramming.net
>> "Walter D''''Souza" <> wrote in
>> message newsECD6977-58A9-49B4-84FC-...
>> > Al I greatly appreciate your response. I did test this to make sure
>> > that
>> > a
>> > manager could not get to others mail or have privilidges. However, I
>> > just
>> > wanted to be sure that there would be no security implications down the
>> > road.
>> > It would have been nice if Microsoft had a matrix on what the various
>> > attributes are and its role in either application or OS. I hope
>> > Microsoft
>> > Engineers pick this up.
>> >
>> > Thanks again Al.
>> >
>> > ...Walter
>> >
>> > "Al Dunbar" wrote:
>> >
>> >>
>> >> "Walter D''''Souza" <> wrote in
>> >> message news:F7F9CED6-68E5-4534-B6AD-...
>> >> >I cannot find any documentation on the implication of adding a user
>> >> >to
>> >> >the
>> >> > Manager attribute to the User object.
>> >>
>> >> As I understand it, managedBy is a one-to-many relationship that can
>> >> be
>> >> used
>> >> to represent the hierarchical relationship of user accounts in an
>> >> organization. I do not know if this confers any sort of privilege on
>> >> the
>> >> manager that would allow, for example, a manager to manage the
>> >> accounts
>> >> of
>> >> those reporting to him or her.
>> >>
>> >> The manager of a distribution list can be allowed to modify the
>> >> membership
>> >> of the list (typically using the email client). I tried this on a
>> >> security
>> >> group and found that the manager account seemed to have no privileged
>> >> whatsoever as a result of being declared manager. I strongly suspect
>> >> that
>> >> would be the same for managers of user accounts.
>> >>
>> >> /Al
>> >>
>> >>
>> >>

>>
>>


 
Reply With Quote
 
Al Dunbar
Guest
Posts: n/a

 
      02-21-2009

"Joe Kaplan" <> wrote in message
news:...
> Unfortunately, what you really need to be doing is delegating permissions.
> This little piece of functionality in ADUC doesn't really apply to your
> use case.
>
> The key thing to decide is what you would want the user set up as manager
> to actually be able to modify. There are many more options for users than
> with groups, so this is a more difficult choice to make. For example, you
> could allow changing of all sorts of account info or demographics details,
> password reset, disable/enable, etc. If you decided exactly what you
> wanted the manager person to be able to do, then you could script the
> changes to the ACL. Alternately, if your delegation model permitted, you
> might consider grouping users under OUs by manager so that you could
> delegate inheritable permissions from the parent container.


Structuring permissions by OU containership is, in my opinion, unmanageable.
And, depending on the technical background the managers have, it may be
foolish to even think that it would be reasonable for account management to
be based on organizational hierarchy. I know it would be in mine.

In those cases where management of a distribution list is delegated, we
often find out that the lists are not properly updated, and we receive
requests for changes anyway.

/Al

> --
> Joe Kaplan-MS MVP Directory Services Programming
> Co-author of "The .NET Developer's Guide to Directory Services
> Programming"
> http://www.directoryprogramming.net
> "Walter D''''Souza" <> wrote in
> message news:BB79DCD2-C797-4972-AA97-...
>> Joe,
>> Thank you for your response. I agree with you it is confusing. I have
>> done that on the group objects and there is a checkbox to modify the
>> list.
>> By first glance because it works on groups I would assume the behaviour
>> is
>> the same on user objects.
>> But on the user objectI do not seem to be able to edit anything by the
>> manager. Which is what I am looking for.
>>
>> ..Walter
>>
>> "Joe Kaplan" wrote:
>>
>>> ManagedBy is confusing because if you change it in the ADUC GUI, ADUC
>>> will
>>> actually try to change the permissions on the object to allow the user
>>> pointed to by the attribute value so that this user can modify the group
>>> membership. However, this is only done by the GUI. If you change the
>>> value
>>> programmatically, nothing happens (unless you also programmatically
>>> change
>>> the ACL). Also, if you programmatically change the ACL but don't set
>>> the
>>> managedBy, the user in the ACL change will have the permissions.
>>>
>>> Essentially, managedBy has nothing to do with the actual directory
>>> permission model.
>>>
>>> --
>>> Joe Kaplan-MS MVP Directory Services Programming
>>> Co-author of "The .NET Developer's Guide to Directory Services
>>> Programming"
>>> http://www.directoryprogramming.net
>>> "Walter D''''Souza" <> wrote in
>>> message newsECD6977-58A9-49B4-84FC-...
>>> > Al I greatly appreciate your response. I did test this to make sure
>>> > that
>>> > a
>>> > manager could not get to others mail or have privilidges. However, I
>>> > just
>>> > wanted to be sure that there would be no security implications down
>>> > the
>>> > road.
>>> > It would have been nice if Microsoft had a matrix on what the various
>>> > attributes are and its role in either application or OS. I hope
>>> > Microsoft
>>> > Engineers pick this up.
>>> >
>>> > Thanks again Al.
>>> >
>>> > ...Walter
>>> >
>>> > "Al Dunbar" wrote:
>>> >
>>> >>
>>> >> "Walter D''''Souza" <> wrote in
>>> >> message news:F7F9CED6-68E5-4534-B6AD-...
>>> >> >I cannot find any documentation on the implication of adding a user
>>> >> >to
>>> >> >the
>>> >> > Manager attribute to the User object.
>>> >>
>>> >> As I understand it, managedBy is a one-to-many relationship that can
>>> >> be
>>> >> used
>>> >> to represent the hierarchical relationship of user accounts in an
>>> >> organization. I do not know if this confers any sort of privilege on
>>> >> the
>>> >> manager that would allow, for example, a manager to manage the
>>> >> accounts
>>> >> of
>>> >> those reporting to him or her.
>>> >>
>>> >> The manager of a distribution list can be allowed to modify the
>>> >> membership
>>> >> of the list (typically using the email client). I tried this on a
>>> >> security
>>> >> group and found that the manager account seemed to have no privileged
>>> >> whatsoever as a result of being declared manager. I strongly suspect
>>> >> that
>>> >> would be the same for managers of user accounts.
>>> >>
>>> >> /Al
>>> >>
>>> >>
>>> >>
>>>
>>>

>



 
Reply With Quote
 
Joe Kaplan
Guest
Posts: n/a

 
      02-21-2009
I take your point here Al, but I would also suggest that there really is no
good way to do what he wants in a manageable way. If he did not delegate
the permissions by container, he would instead be delegating permissions to
individual objects. That could potentially be done via some sort of script
or provisioning system and kept tidy, but it would likely be a mess
otherwise.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
"Al Dunbar" <> wrote in message
news:...
>
>
> Structuring permissions by OU containership is, in my opinion,
> unmanageable. And, depending on the technical background the managers
> have, it may be foolish to even think that it would be reasonable for
> account management to be based on organizational hierarchy. I know it
> would be in mine.
>
> In those cases where management of a distribution list is delegated, we
> often find out that the lists are not properly updated, and we receive
> requests for changes anyway.
>
> /Al
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Implication of changing samAccountName Mr. Magoo Active Directory 5 09-10-2007 02:50 PM
attrib AN spudWA@gmail.com Windows Vista General Discussion 17 05-02-2007 01:36 AM
Set OWA attrib to denied Tom McCarroll Active Directory 1 10-04-2006 07:38 AM
attrib -r thats it bondo Windows Server 5 08-08-2005 06:31 PM
read only attrib - easy right? Manny Borges Windows Server 0 06-22-2005 07:39 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59