Question : How to search parts of a subtree

I have the following parts in ldap:
ou=Mitarbeiter,o=interexa,dc=interexa,dc=de
uid=hernst,ou=Mitarbeiter,o=interexa,dc=interexa,dc=de
ou=Sysusers,o=interexa,dc=interexa,dc=de
ou=Gruppen,o=interexa,dc=interexa,dc=de
ou=Ex,o=interexa,dc=interexa,dc=de
uid=foo,ou=Mitarbeiter,o=interexa,dc=interexa,dc=de

Now i want to search only entries in
ou=Mitarbeiter,o=interexa,dc=interexa,dc=de and ou=Sysusers,o=interexa,dc=interexa,dc=de So my searchbase is
o=interexa,dc=interexa,dc=de
So how must my filter look like so it searches only in those two subtree parts?

(|(ou:dn:=Mitarbeiter)(ou:dn:=Sysusers))
does not list the elements below those two part.

Answer : How to search parts of a subtree

ok narrowed down the problem. Seems to be a bug in openldap. Tries it with openldap2-2.2.27-6.3  which does not work and then also triesd it with openldap2-2.3.27-30 which works as expected.
Random Solutions  
 
programming4us programming4us