Question about baseDN

Is there any way to set 2 ou in ldap.baseDN?

For e.g.

test.com

|

L__ OU1

| L__ user1

| L__ user2

|

L__ OU2

| L__ userA

| L__ userB

|

L__ Computer

|

|

L__ etc

I hope to serach users in OU1 and OU2, but I don’t want to search the entire domain.

Any can help?

Otherwise, If I want to use “ldap.groupSearchFilter” to find groups in “ou=users,ou=depart,dc=test,dc=com”, how could I defind this value?