archivematica / Issues

Issues repository for the Archivematica project
GNU Affero General Public License v3.0
16 stars 1 forks source link

Problem: SS Ldap auth needs LDAP_GROUP_SEARCH #1629

Closed mamedin closed 11 months ago

mamedin commented 1 year ago

Expected behaviour

The AUTH_LDAP_GROUP_SEARCH_BASE_DN and AUTH_LDAP_GROUP_SEARCH_FILTERSTR variables should be optionals, only needed when configuring any grup settings

Current behaviour

LDAP auth in Archivematica Storage Service fails (Whoops error) when not using LDAP Groups in settings

Steps to reproduce

Configure ldap auth in SS without the AUTH_LDAP_GROUP_SEARCH_BASE_DN and AUTH_LDAP_GROUP_SEARCH_FILTERSTR variables

Your environment (version of Archivematica, operating system, other relevant details)

I could reproduce the error in SS 0.20 and 0.19 (artefactual ldap qa servers)


For Artefactual use:

Before you close this issue, you must check off the following:

mamedin commented 1 year ago

The comes from this commit:

https://github.com/artefactual/archivematica-storage-service/commit/d45d9f17742446b408d99b47c07400696df14a31