Filtering user list by AD Group

Hi.

I have an AD that has lots of OU’s.

When I install the Openfire server the search path was dn=domain, dn=pt

I have all my users and groups but I have lots of users and groups that were create for management, it services, outside partners and so on.

Is there any way to just import or create a filter that when I use spark the only users that are listed as offline/online are the ones on a group?

I need something like this cn=imof, cn=users, dn=domain, dn=pt has my search string for the users/import list from the AD.

Thanks

Best

This solved my problem.

in the ldap.searchFilter =((objectClass=organizationalPerson)&(memberOf=CN=imof,CN=Users,DC=domain,DC=pt )).

solved