Project

General

Profile

Unable to change LDAP settings - error message

Added by L H over 4 years ago

Hello,
We have migrated from Redmine v3.4.6-5 to v4.0.1-1 on Windows Server and are having issues with LDAP. Although it does allow logins via the LDAP method, I cannot change the LDAP settings page under Admin tools.

When I click save, I see the following generic error:

Internal error
An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error.`

The Redmine log shows the following error:

NoMethodError (undefined method verify_peer=' for #<AuthSourceLdap:xxxxxxxx>):
app/models/auth_source_ldap.rb:133:inldap_mode='
lib/redmine/safe_attributes.rb:88:in safe_attributes='
app/controllers/auth_sources_controller.rb:48:inupdate'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Can you help me resolve this issue please?

Thank you :)