ma1uta / ma1sd

Federated Matrix Identity Server (formerly fork of kamax/mxisd)
GNU Affero General Public License v3.0
167 stars 56 forks source link

LDAP Login failed #60

Open martineduvaz opened 4 years ago

martineduvaz commented 4 years ago

Well, I've installed Matrix, Nginx as a reverse proxy and everything is properly configugred. Also installed ma1sd, load LDAP parameters in ma1sd.yaml (disable in homeserver.yaml) but can't authenticate LDAP against AD. When I check the syslog I see this

synapse.rest.client.v1.login - 195 - INFO - POST-59 - Got login request with identifier: {'type': 'm.id.user', 'user': 'user'}, medium: None, address: None, user: 'user' 2020-09-08 09:27:32,778 - synapse.handlers.auth - 842 - WARNING - POST-59 - Failed password login for user @user:matrix.domain.com

Followed the guide for the installation (Debian 10) but nothing seems to work matrix-react-sdk version: 0.10.3 riot-web version: 0.12.3

ma1uta commented 3 years ago

If you want authenticated uses with LDAP you should setup https://github.com/ma1uta/matrix-synapse-rest-password-provider + ma1sd, password-provider will send login/password to ma1sd and ma1sd will authenticate user in the configures LDAP.

lgwapnitsky commented 3 years ago

I'm running into this now. To what do I set the variable for the endpoint? the ma1sd server?

ma1uta commented 3 years ago

Yes, endpoint should points to ma1sd server.