-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use Email header from SSOWat #46
Conversation
Hello, Thanks for your work. Ok it fix #44 but not #5 I think.
Maybe we need to keep the old solution for the actual install because it might be a big issue for some users. |
Yes I confirm not fixing #5 because we need a filter in LDAP to identified alias vs main mail address.
If it's the case, my fix will just break the SSO, so the admin can manage to reassign account if there is way in Seafile ? |
Can you clarify your idea about that ? On yunohost all email and alias are the same attribute in the LDAP database. On the Yunohost side the main email is just the first email entry...
As I know it's not possible on the Yunohost side. I thought also about the change_url script which might be broken because actually we change the domain of all user email when we change the domain of seafile. |
Ok I test some scenario.
Remediation
|
there is a FILTER option in Seafile for LDAP, I doesn't know if we can just select the first entry of mail attribute with that, I'm noob about LDAP stuff. Edit: |
This is what I don't really like because I don't how many user this impact... By this you need to move each library and reconfigure all client.
Yes there are a Filter option but, you just can say |
I think only a few users are in this case because the users impacted already facing this issues
The yunohost setup with only one domain are NOT impacted. |
This comment has been minimized.
This comment has been minimized.
Hello, sorry for the delay.
Yes, but I don't have IRC. I've matrix or jabber. |
TODO
|
This is superseded by #49 |
Fix #44
I think we may just want rewrite the
header
variable now in the patch ?Tested it work like charm.
We need to add a note to WARN user because it will "break" SSO for wrongly created account with
username@seafiledomain
if the user haven't the email in the seafile domain.