Code Monkey home page Code Monkey logo

Comments (5)

fflorent avatar fflorent commented on June 14, 2024

Same issue here.

from wekan_ynh.

fflorent avatar fflorent commented on June 14, 2024

I wonder if that may not be due to this issue:
wekan/ldap#57

I have several mail addresses for my main user but other users don't and have their email correctly set.

from wekan_ynh.

kuba-orlik avatar kuba-orlik commented on June 14, 2024

I also have several mail addresses for my user 🤔

from wekan_ynh.

fflorent avatar fflorent commented on June 14, 2024

I think I got a workaround or even a fix.

I don't warranty about the result. YOU MAY DO A BACKUP BEFORE FOLLOWING THESE STEPS.

In /var/www/wekan/.env, change this:

 # LDAP_DEFAULT_DOMAIN : The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP
 # example :
 #LDAP_DEFAULT_DOMAIN=
+LDAP_DEFAULT_DOMAIN=<YOURDOMAIN.TLD>

Then you'll have to purge all users in mongo:

$ mongo
> use wekan
> db.users.find({authenticationMethod: "ldap"})

Check that all users are ones from ldap and then

> db.users.deleteMany({authenticationMethod: "ldap"})
> quit()

Then restart wekan:

$ sudo systemctl restart wekan.service

Login again using your LDAP account and that should fix your email address.

Hope to help! Feedback welcome :-)

from wekan_ynh.

yalh76 avatar yalh76 commented on June 14, 2024

Have you tested with last wekan version?

from wekan_ynh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.