Comments (4)
Try syncing LDAP users with this script:
https://github.com/wekan/wekan/blob/main/ldap-sync/ldap-sync.py
from wekan.
@xet7
Thank you for pointing to that external script. I guess this should be run from wekan pod because of the "env" stuff inside script? Is there any syntax or just start script without any parameters.
from wekan.
That MONGO_URL should have access to MongoDB database, because it directly syncs between MongoDB and LDAP.
For dependencies at the start of script, you should install them, like for example:
pip install ldap pymongo
Or using package manager:
sudo apt -y install python3-ldap python3-pymongo
For any env(
, those need to be in bash or bat script, for example, at Linux:
start.sh
export MONGO_URL=...
python3 ldap-sync.py
start.bat
SET MONGO_URL=...
python3 ldap-sync.py
Although, it would be better to integrate these directly to WeKan LDAP Javascript code:
https://github.com/wekan/wekan/tree/main/packages/wekan-ldap
from wekan.
Thanks for info in regard how to run that ldap-script. For our problem we changed the username in MongoDB directly over mongo shell:
mongosh
show dbs
use wekan
show collections
db.users.find( {} )
With " db.users.find( {} ) " we geht _id which we can use to change the username. For example "_id: "MuBraazRKxCZTmNav"".
db.users.update(
{ _id: "MuBraazRKxCZTmNav" },
{
$set: {
username: "x.useratdomain.com"
}
}
)
from wekan.
Related Issues (20)
- Which lists are collapsed is affecting all users instead of just the user who needs to adjust their own view HOT 1
- Run Wekan Locally HOT 1
- delete custom filed
- Wekan - Node process HOT 4
- New Feature request: Is it possible to make the "link card --> cards" pull-down list alphabetically arranged
- Can't set a Due Date that has a leading zero in time, errors with `invalid time` HOT 4
- Add API option for editing Lists HOT 1
- Cannot scroll down "my Boards" in Android Chrome PMI HOT 1
- Card edit API has duplicated variable names for board move functionality instead of using existing ones HOT 1
- Moving Card's List using API leads to random sorting compared to Move Card dialogue where it ends up on top HOT 2
- Wiki - Install Updates Automatically - Command outdated HOT 1
- Turn off email notification HOT 4
- "Hide checked items" toggle is inverted and affects ALL Checklist objects in the Card
- Card Link / Board Open to Public Without Logging In. HOT 1
- Wekan Azure Singn in
- Other Admins Cannot See (Add Members Plus Symbol)
- "Edit Description" button is wildly out of place HOT 1
- [Docker-arm64] /data/attachments is not writable
- WeKan Cloud maintenance In Progress HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wekan.