I have a quick question regarding using multiple LDAP rolebases.
In the documentation, it indicates that:
Since Search Guard v24 you can alternatively configure multiple role bases (this combines and replaces the rolesearch and rolebase attribute).
It goes on to give an example, using two roles, labelled:
roles:
normalroles:
base: 'ou=groups,dc=example,dc=com'
search: '(uniqueMember={0})'
other:
base: 'ou=othergroups,dc=example,dc=com'
search: '(owner={0})'
My question is: Is this limited to only the use of two rolebases? I.e., are the normalroles
and other
values hardcoded, or can others be added, as in:
roles:
primary-rolebase:
...
secondary-rolebase:
...
tertiary-rolebase:
...