17 Jun 2019 |
@lindalap:matrix.org | Identity r0.2.1 (PR #2137) | 17:50:15 |
TravisR | ^there's nothing new there that hasn't already been discussed ftr. | 17:51:05 |
Maximus | Thanks both of you for the link and the clarification 👍️ | 17:59:04 |
18 Jun 2019 |
| 👤 changed their profile picture. | 01:01:13 |
Alex B | I'm trying to get the room invite emails to work, but it won't send anything. The file is generated and the token and stuff are in there. What should normally happen if i trigger a room invite to a user with the same domain on our LDAP directory?
referring to this: https://github.com/kamax-matrix/mxisd/blob/master/docs/features/experimental/application-service.md | 07:56:40 |
Maximus |
if i trigger a room invite to a user with the same domain on our LDAP directory
Alexander Buron that's not a Matrix ID invite
| 08:04:26 |
Maximus | That feature is only if the invite is done as a Matrix ID invite which can happen two ways:
- the user actually does a Matrix ID invite
- the user does an email invite, and the email is resolved to a Matrix ID by the identity server, and so turned into a Matrix ID invite
| 08:05:55 |
Maximus | (and by email, I mean any 3PID type) | 08:06:25 |
Alex B | If I have an empty room and try to invite someone, it gets resolved by mxisd with Name and the apropriate matrix address. In my understanding, the Matrix ID will be used for the invite? The syslog shows that a LDAP search is performed as well as a Sqlite database search and both are positive. | 08:12:13 |
Maximus | Yes but that you have to tell me what you see actually being invited | 08:43:10 |
| @marcel.partap:matrix.tii.tu-dresden.de changed their display name from marcel.partap to Marcel Partap. | 08:58:38 |
Alex B | I get the invite on the destkop client with the other account., but the mxisd log never shows something like invite/email or similar. What should show up in the log when a email is being sent? | 09:01:42 |
Maximus | it would literally say smth about an email sent, and that it's connecting to the SMTP server, etc | 09:02:28 |
Maximus | you really can't miss the lines ofi t | 09:02:34 |
Maximus | I don't have log lines available for it right now, sorryh | 09:03:01 |
Maximus | are the logs telling you something about application service transaction? | 09:04:12 |
Maximus | is something being received by mxisd there when you do the invite? did you check with a tail -f , watching the logs as they come while you do the action? | 09:04:40 |
Alex B | that's what i do for /var/log/syslog and the homserver.log. I see the invite is generated on the homeserver but apart from that nothing happens. I can't find anything in the logs for application service transaction. | 09:07:43 |
Maximus | then mxisd is never contacted by synapse | 09:08:13 |
Maximus | double check that your registration file is correct and matches mxisd config. If that's good, you'll need to open an issue on the synapse repo about the AS stream being stuck, which happens now and then | 09:09:05 |
| @marcus:binux.de joined the room. | 14:44:28 |
| @marcus:binux.de left the room. | 14:45:32 |
| @mark:cool110.xyz joined the room. | 20:43:04 |
19 Jun 2019 |
@cos42:matrix.org | would it be possible to do really simple registration/authentication with ssh as backend? so that mxisd would try to ssh specified host with given credentials and if it succeeds, the user can log in? | 06:03:31 |
@cos42:matrix.org | i'd also like to see a super minimal example code for doing something like this with correct u/p pair hardcoded. that would be a good starting point for contributions. | 06:04:54 |
@cos42:matrix.org | actually I think ssh auth provider would be a brilliant idea. it would be super easy to integrate to existing systems compared to obscure ldap authentication or something else. | 06:29:31 |
@cos42:matrix.org | for example this looks nice & simple enough, but what is the minimal set of classes needed or is AuthenticationProvider implementation enough? https://github.com/kamax-matrix/mxisd/blob/master/src/main/java/io/kamax/mxisd/backend/wordpress/WordpressAuthProvider.java | 06:44:13 |
Maximus | In reply to @cos42:matrix.org would it be possible to do really simple registration/authentication with ssh as backend? so that mxisd would try to ssh specified host with given credentials and if it succeeds, the user can log in? We do not plan to include more identity stores in the forseable future. SSH is also a niche one.
We have added two Identity stores that are generic in nature which allow you to connect any kind of logic: Exec and REST.
We recommend Exec in this case. | 07:31:55 |
@cos42:matrix.org | ssh is starting to look less good option, as there may be users who have disabled password login in favor of key authentication | 07:35:31 |
@cos42:matrix.org | rest authentication with pam as backend might be the best solution. it's a bit surprising nobody has written one yet.. | 07:36:11 |