Hi, All,

For internal billing purposes, we need to find all the employees directly
and indirectly reporting to the director.

For example, the branch's director is item A in LDAP (Active Directory),
and item B as property "manager=A", so B directly reports to A. Moreover,
item C has property "manager=B", so C reports to A as well indirectly. In
the mini example, director A's team includes B and C.

To start from the director's item in LDAP and iteratively find all the
employees under him through the relation of "manager=xxx" property. The
data structure is like a multi-children tree, and our first thought is to
write a python script and implement a BFS (breath-first search).

However, before re-inventing any wheels, we hope to double-check whether
there is a way to do it within the built-in functions of Apache Directory
Studio.

We highly appreciate any hints and suggestions.

Reply via email to