Skip to content

[fix] LDAP connector with erland 24.3+

ljf requested to merge ljf/mobilizon:fix-ldap into main

The problem

On 3.0.x version it's not possible to login with an LDAP account. See #1130 (closed) for details

Suggested solution

According to @chuso post : #1130 (comment 1919172) This issues has appeared with erlang 24.3+, recompile with 24.2 seems to work. To support 24.3+, the result record structure of search() has changed to get a new argument (i am not an elixir programmer, so sorry if i don't use the good word).

I try here to apply a change inspired by the change made on https://github.com/rabbitmq/rabbitmq-server/pull/4285

State

I am currently trying to test it... But i need to compile and migrate onto 3.0.3...

How to test it

Personnaly i will try to deploy a compiled version onto a yunohost instance and see if it's possible to login.

Edited by ljf

Merge request reports