Closed MurzNN closed 6 years ago
This is right only for new LDAP users, that is not do first login into Matrix, so Matrix ID is missed in Matrix server database. So let's close it.
After next query from users I recheck this and see that this issue is true for already exists in Synapse server database too, if we have no rooms with this contact.
So if we have private chat with person, Riot (or Synapse?) seems do auto-complete it without using mxisd
, so seems all works well.
But if this person is not known for current user (user have no rooms with this person) - autocomplete via mxid string (starting with @
) not works.
This can be solved at mxisd
side via parsing strings, started with @
and compare it with string like @[ldap.attribute.name]:[matrix.domain]
. What do you think about this solution?
Good catch, will handle it correctly with:
@
Fixed in v1.1.1
When we try to find Matrix user by Matrix ID staring with '@', eg
@alice
- LDAP search returns empty result, because usernames in LDAP database don't contain@
symbol.As workaround for this problem - maybe try to remove leading
@
symbols from string before executing LDAP search?