-
-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[helper] App users ldap #977
Conversation
Aleks says me yesterday that it may be possible to change dovecot config to allow system user to send mail and may be to have some inbox. Are we sure we want to create ldap users for this ? |
(c.f. #815 ) Josue explains in this comment why LDAP user might be better |
@tituspijean maybe? |
Superseded by #815 :| |
Well not completly because, by example synapse need a LDAP user to authenticate to ldap to use ldap filters. So no it will not completly fix the issue. |
I don't understand why synapse needs a LDAP user to bind with, basically any anonymous users has read access, and there are dozens of other apps that do implement LDAP searches without being authenticated ... has it been doubled checked that synapse does really need a LDAP user+password for this, and why ? x_x |
It look like a know issue here: matrix-org/matrix-synapse-ldap3#169 (comment) But I would say I didn't tested on the last release if the issue still be here. |
The problem
Solution
ou=users,ou=apps,dc=yunohost,dc=org
and the app group inou=groups,ou=apps,dc=yunohost,dc=org
PR Status
Linked to YunoHost/test_apps#9
Tested locally and it work. The unit test fail because YunoHost/test_apps#9 need to be merged.
How to test
Run:
Install the ldap user app
After you can test the LDAP authentication with a simple LDAP research:
You can also try the authentication in Postfix:
You can also try the authentication in Dovecot:
openssl s_client -connect localhost:993 -crlf > a login ldap_user_app RAND0MP4sSw0RO
Validation