Active Directory Connection

Is there any way to configure the connection to Active Directory in openfire bring two distinct OU


DN Base: ou=teste1,ou=teste2,dc=apps,dc=com,dc=br

The easiest way is to create a group and add the users from the 2 or more OU you want. The other thing you can do is leave the base dn and set up a filter to limit it to users who are in the OUs. I can’t remember the format but you should be able to get some details from here .