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
support ldap (somehow) #3342
Comments
Hey! I'm also interested in this feature! Do have an estimation when it will be available? Best, |
We use the passport auth system for node.js, and there is an LDAP plugin (see https://www.npmjs.com/package/passport-ldapauth), which would likely be easy to integrate with CoCalc. It probably wouldn't be too hard for me to add support for this, but I can't spend time on it in the near future, unless there is a customer willing to pay (if there is -- contact me). |
for the record, ldap is part of the auth module we have: Line 577 in 8c4fa65
the real challenge is to figure out how to configure it, respective to the specifics of wherever cocalc is deployed, and if there is anything else that needs to be done. as far as I know it was never used anywhere. |
Here is ldap code we using with recent cocalc version HighwayStar@fbff82a |
Any update on this? I am really interested in deploying this small-scale in my school, and LDAP would be really useful. Any hints on how to configure it on my own would also be fine. |
@schlecker no update, same as a year ago. you can have a look at the code, which shows a line how to setup LDAP in the database: https://github.com/sagemathinc/cocalc/blob/master/src/smc-hub/auth.ts#L605 So, basically, give it a unique name and the cofiguration "value" is JSONB, which starts as |
You can cherry-pick changes from my branch on current master and change values to your addresses https://github.com/HighwayStar/cocalc/tree/docker-ldap-20200823-public |
Not clear how we should in general. However, it's been done here, which should help:
HighwayStar@e44b19f
E.g., this might only be a feature that is enabled or configurable for our Docker image https://github.com/sagemathinc/cocalc-docker
The text was updated successfully, but these errors were encountered: