fipries
fipries

Reputation: 386

Configure multiple Active Directory paths in WSO2 IS user store

We are facing a problem connecting WSO2-Identity Server 5.1.0 with multiples paths in Active Directory in a single userstore.

We have the following configuration in Active Directory:

 |- DC=org
    |- DC=company
       |- DC=users
          |- OU=Department1
             |- CN=User1
             |- CN=User2
          |- OU=Department2
             |- CN=User3  

I have created an Active Directory based UserStore that gets the users from Department1 correctly (User1 and User2). Now I want to get also the users from Department2 without creating another UserStore.

I tried the following filter in "User Search Base" field without succees:

Also I try to get all the user in "User Search Base" and make a filter for those users:

Is there any way to configure this properly without in just one single userStore?

Thanks!

Upvotes: 1

Views: 561

Answers (1)

Bee
Bee

Reputation: 12502

Try a hash sign (#) as the separator.

ou=Department1,dc=users,dc=company,dc=org#ou=Department2,dc=users,dc=company,dc=org

Upvotes: 3

Related Questions