Hi everyone,
Running a
RabbitMQ version: 3.11.2, with Erlang/OTP 25.I am trying to get my RabbitMQ up and running with an OpenLDAP (both OpenLDAP and RabbitMQ are running in their own Docker container).
RabbitMQ configuration file here:
https://pastebin.com/PwSkywMb And something is not working well.
In the first part of the logs, I can see the binding to the LDAP server is alright. So, that part is good.
After that, it seems to happen something really strange which I can't explain: the LDAP query is searching for $jdoe instead of jdoe (maybe this is not the issue after all, but it's what caught my attention):
2023-02-01 18:20:37.065569+00:00 [info] <0.498.0> LDAP filling template "$${username}" with
2023-02-01 18:20:37.065569+00:00 [info] <0.498.0> [{username,<<"jdoe">>}]
2023-02-01 18:20:37.065754+00:00 [info] <0.498.0> LDAP template result: "$jdoe"
2023-02-01 18:20:37.065848+00:00 [info] <0.920.0> LDAP network traffic: search request = {'SearchRequest',
2023-02-01 18:20:37.065848+00:00 [info] <0.920.0> "ou=users,dc=datasolutions,dc=com",
2023-02-01 18:20:37.065848+00:00 [info] <0.920.0> wholeSubtree,derefAlways,0,0,
2023-02-01 18:20:37.065848+00:00 [info] <0.920.0> false,
2023-02-01 18:20:37.065848+00:00 [info] <0.920.0> {equalityMatch,
2023-02-01 18:20:37.065848+00:00 [info] <0.920.0> {'AttributeValueAssertion',
2023-02-01 18:20:37.065848+00:00 [info] <0.920.0> "uid","$jdoe"}},
2023-02-01 18:20:37.065848+00:00 [info] <0.920.0> ["distinguishedName"]}
But the user is there,
in the same OU as the bind user (rabbitmq) which was used for the binding, please see the ldapsearch here:
https://pastebin.com/aNv1whNE Thus, the binding works, but the authentication doesn't and this has been driving me nuts for a day. Can anyone please give a helping hand on this?
Thanks in advance,