Username with "@" character does not work with the LDAP plugin / MQTT Login #9082
-
Describe the bugIf I use the username Reproduction stepsUse the following
It will not allow the user to connect to the MQTT server Expected behaviorI would expect that the LDAP/MQTT plugin accepts e-mail addresses as LDAP usernames/uid. Additional contextIf I create a user via the RabbitMQ web-admin, then it is possible to use "@" in the username, but it does not work via the LDAP plugin. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
@MichaelUray it would help us out a LOT if you could export an entire LDAP schema we can import into OpenLDAP to reproduce this issue. Right now it would take me quite a bit of time to get an LDAP environment up and running, and that would expedite investigation. Please let us know what version of Erlang and RabbitMQ you're using, too. |
Beta Was this translation helpful? Give feedback.
-
We don't have any logs or even version information here => moving this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Neither plugin explicitly validates what username is provided. In fact, one Erlang LDAP client example uses an email-looking username in one of the examples. So likely this is something specific to the environment, and without at least some LDAP schema bits, server logs and any version information, we can only guess where to begin looking. We do not guess in this community. |
Beta Was this translation helpful? Give feedback.
-
I just tried to re-create this situation to get some log-files, but now it seems to work. |
Beta Was this translation helpful? Give feedback.
-
A fix shipped in |
Beta Was this translation helpful? Give feedback.
A fix shipped in
3.12.4
.