LDAP sync breaks Nordic characters in user's full name after authentication in 0.59.2.
User's name should be ok and contain UTF-8 characters such as 盲.
User's name has changed both in Admin user list and any new messages to contain wrongly decoded characters such 脙陇 (which should be 盲).
The issue did not exist in 0.59.1 or earlier.
have same issue , version 0.59.2
I'll also add that since fullname is used in direct room topic bar (if you have Use Real Name option enabled), ASCII formed full names "leak" from there to the channel list. This happens even if one downgrades back to 0.59.1 and updates users via LDAP, then logs back in, or manually fixes the name in the user list.
I could not find malformed names in the database (didn't know where to look originally), so I had to delete all direct rooms using GUI. (After I had found delete button workaround in #8562 comments.)
We have the same issue with newly imported users username und name - Version 0.59.2
I can edit them manually and they dont break again after LDAP-Sync, but maybe after login but i can't test this.
@ArchimedesFM For us it happened only after doing actual login. Running LDAP sync from the setting didn't trigger it, nor did it fix it afterwards.
Edit: Sorry, I did bad reading. I didn't test fixing the user names manually after login. That might help as a band aid for now.
i fix manually also, but after logout&login its happened again
Also confirmed on 0.59.2
same for Polish characters in 0.59.2
The LDAP Plugin totally broken.
Only the sync during the login by user will work, but with broken escaping.
So the first patch ist for fixing manual sync:
https://gist.github.com/traxanos/ed7a0ce104fd0afa170f20d509d4d459
The other problem why special chars are broken is the handling with ldap fields as BINARY!!!
What the hell why the use the field as binary!
https://github.com/RocketChat/Rocket.Chat/commit/e2b0379dc967f59148c8e4b8aeaf4b9a0f914e80
When you revert this the encoding is working again.
Thanks guys, I'll take a look ASAP
Guys, version 0.59.3 is building and will be available soon with this fix.
Please let me know if there are more issues related to LDAP
Seems to work ok for us with 0.59.3. Thanks! :)
with 0.59.3, works for me now. thanks!
Most helpful comment
Guys, version 0.59.3 is building and will be available soon with this fix.