Multiple ldap catalogs?

Is it possible to have NextCloud to look up users in multiple LDAP catalogs/Active Directories? I am thinking about multi tenancy with each tenant having their own user catalog.

This is probably best done using groups. What are you trying to achieve?

U can use Directory Settings under Advanced tab and in the Base User Tree past:
OU=Accounts,DC=domain,DC=com,DC=pl
OU=Accounts2,DC=domain,DC=com,DC=pl

If you mean several AD servers you can add another; all is here – https://docs.nextcloud.com/server/11/admin_manual/configuration_user/user_auth_ldap.html

@terry_tibbles
What I am trying to achieve is multi tenancy with each tenant having their own active directory domain/ldap-catalog and being able to login with their own accounts.
These different Active Directories would be in separate forest with out any dependency to each other.

@Therion7777

This would be in the same Active Directory/LDAP-catalog, right?
And not with different forests?

You can add more LDAPs servers and add several Base User Trees for each.