Hi,
First time posting here and hoping someone has done this successfully before.
We are having some trouble getting our LDAP Authentication to filter including nested group members using the below configuration.
AppConfig[:authentication_sources] = [{
:model => 'LDAPAuth',
:port => 636,
:base_dn => 'OU=Users,DC=ad,DC=my,DC=org',
:username_attribute => 'sAMAccountName',
:attribute_map => { :cn => :name },
:bind_dn => 'CN=your_account,OU=Users,DC=ad,DC=my,DC=org',
:bind_password => 'my_password',
:encryption => :simple_tls,
:user_filter => '(&(objectCategory=person)(memberOf:1.2.840.113556.1.4.1941:=CN=Archives_Grp,OU=Groups,DC=ad,DC=my,DC=org))'
}]
I've done this before on other systems with success, so not sure what I've got wrong in this instance.
LDAP bind is working and currently any user in 'OU=Users,DC=ad,DC=my,DC=org' is able to sign in and their ArchivesSpace user is created.
If I run an ldapsearch it will return the correct number of users in that group.
Now I am just trying to filter the allowed users by being a member of a group.
Thanks!