I am querying an Active Directory to gather the list of people having a given manager. The following search works fine:
$ ldapsearch "cn=John Doe" manager dn: CN=John Doe,... manager: CN=The Boss,...
What I would like is to have the right syntax to search for all people reporting to
The Boss, something like
$ ldpasearch "<manager's cn is The Boss>" cn
which would return a list, including
cn=John Doe (among others)
What is the correct syntax for such filter?