We are using Enterprise ROR.
I have two LDAP groups as shown below. Is there a way to club both of them together and use them in my rule. Currently I have to duplicate each rule to accommodate both LDAP’s
- name: "Forbid all LDAP users to delete indices"
type: forbid
actions: ["indices:admin/delete", "indices:admin/template/delete", "indices:data/write/delete", "indices:data/write/delete/byquery"]
ldap_authentication:
name: "ldap"
cache_ttl_in_sec: 900
- name: "Forbid all LDAP2 users to delete indices"
type: forbid
actions: ["indices:admin/delete", "indices:admin/template/delete", "indices:data/write/delete", "indices:data/write/delete/byquery"]
ldap_authentication:
name: "ldap2"
cache_ttl_in_sec: 900
LDAP’s
ldaps:
- name: "ldap"
host: "winrootf5.xxx.com"
port: 636
ssl_enabled: true
ssl_trust_all_certs: true
bind_dn: "CN=srvxxx,OU=ServiceAccounts,OU=CorpUsers,DC=winroot,DC=xxx,DC=com"
bind_password: "XXXXXXX"
search_user_base_DN: "OU=CorpUsers,DC=winroot,DC=xxx,DC=com"
search_groups_base_DN: "OU=CorpGroups,DC=winroot,DC=xxx,DC=com"
user_id_attribute: "samaccountname"
unique_member_attribute: "member"
connection_pool_size: 100
connection_timeout_in_sec: 60
request_timeout_in_sec: 60
cache_ttl_in_sec: 900
group_name_attribute: "cn"
- name: "ldap2"
host: "xxxvirtualdir.xxx.com"
port: 2489
ssl_enabled: true
ssl_trust_all_certs: true
search_user_base_DN: "uid=srvEUPAutomationJob,OU=SelfService,ou=People,ou=PeopleAuthSrch,dc=xxx,dc=com"
search_groups_base_DN: "ou=Autogroups,ou=PeopleAuthSrch,dc=xxx, dc=com"
user_id_attribute: "uid"
unique_member_attribute: "uniqueMember"
connection_pool_size: 10
connection_timeout_in_sec: 10
request_timeout_in_sec: 10
cache_ttl_in_sec: 60
group_name_attribute: "cn"