wekan / ldap

LDAP support for Wekan code has been moved to https://github.com/wekan/wekan/tree/master/packages/wekan-ldap , issues to https://github.com/wekan/wekan/issues , and if PRs are needed please add them instead to https://github.com/wekan/wekan/pulls
https://github.com/wekan/wekan/tree/master/packages/wekan-ldap
MIT License
12 stars 10 forks source link

Bug: Default LDAP method not set for all users #54

Open xet7 opened 5 years ago

xet7 commented 5 years ago

From @DrGraypFroot

I did a bit of testing: Imported Mongo Data from our production server into the new updated testinstance. Worked without problems. I then changed changed the layout options in the admin panel so only the ldap login option is displayed. The login didn't work right off the bat. I had to bash into the wekan-db container, go into the mongo shell and alter the authenticationMethod field from password to ldap via the cli. After that, the user could login.

If i simply change authentication method from password to ldap via the admin panel, it doesn't work. (Nothing happens when i hit "Save")

Oh, forgot to mention, this is all concerning existing users

I think the "people" tab in the admin panel doesn't work correctly

Some users have no mail address, but if i search them directly on the mongodb, the address is there. same with authentication method. on the panel, it says undefined for most users (for some it says password). but even if i change it to ldap over the cli, on the panel, it still says undefined.

So a workaround right now would be to set authenticationmethod:ldap for all users via the mongo cli

or do you have a better suggestion?

@Akuket

Do you have time to look at this?