Closed github-actions[bot] closed 1 year ago
Hello, First please, we have to change mail.exs
#adapter: Bamboo.SMTPAdapter,
#server: "127.0.0.1",
adapter: Swoosh.Adapters.SMTP,
relay: "127.0.0.1",
Ok, I have tested on home server, this time the LDAP works nice !! Yunohost users can sign in with the Yunohost LDAP and also external users with the mobilizon bdd if allowed inscriptions.
Just one thing to do before, change ldap.exs
#165
well, in fact on a fresh install it works... but in my personal instance, I have do a change to upgrade to 3.0.4, I have inversed the lines in ldap.exs with config :mobilizon, Mobilizon.Service.Auth.Authenticator, Mobilizon.Service.Auth.LDAPAuthenticator
with config :mobilizon, Mobilizon.Service.Auth.LDAPAuthenticator, Mobilizon.Service.Auth.Authenticator
.
It was a hack to let the users from outside sign in, it means only the mobilizon bdd is used... But I still need keep this like this after upgrading to 3.1.1 or again only Yunohost users can sign in...
I have first try upgrade keeping the lines with config :mobilizon, Mobilizon.Service.Auth.Authenticator, Mobilizon.Service.Auth.LDAPAuthenticator
, but with users accounts I have to test if they can sign in, they couldn't. I try change the password, but the link send to reinitialize the password were bad links, a message said something like 'you don't have the correct token link, try read the correct link in your message'...
So I have edited again the lines with with config :mobilizon, Mobilizon.Service.Auth.LDAPAuthenticator, Mobilizon.Service.Auth.Authenticator
and these users could sign in again, as others externals users...
But on a fresh install it seems working as excepted for my first test on another server...
!testme
Upgrade to v3.1.1 [See upstream release page]() Provided description: