Hello!
I need to give access to users who are a member of LDAP groups. While using only one name of the group is working, I don’t know how to specify list/several groups in the “group” parameter.
Here is my setting:
Set($ExternalSettings, {
‘My_LDAP’ => {
‘type’ => ‘ldap’,
‘server’ => ‘pages.corp.com’,
# By not passing ‘user’ and ‘pass’ we are using an anonymous
# bind, which some servers to not allow
‘base’ => ‘ou=pages,o=corp.com’,
‘filter’ => ‘(objectClass=corpPerson)’,
Need specify multiple groups here:
'group' => 'cn=Requesters,ou=memberlist,ou=corpgroups,o=corp.com',
‘group_attr’ => ‘uniqueMember’,
# Users are allowed to log in via email address
‘attr_match_list’ => [
‘Name’,
‘EmailAddress’,
],
# Import the following properties of the user from LDAP upon
# login
‘attr_map’ => {
‘Name’ => ‘mail’,
‘EmailAddress’ => ‘mail’,
‘RealName’ => ‘cn’
},
},
} );