AD users from specific group?

This looks like it should be a no brainer but I am not seeing how to do this.

How do I configure OpenFire to only take users from a specific group. I have it working fine for the whole directory. So I have say the AD Group OpenFire, I only want those users to be able to log in, and only those users to show up in a search.

Thanks!

you need to add a group filter to your LDAP config. I am terrible at the code for this but there are numerous threads that address this. Do a search for LDAP Filters or Group Filter