Skip to content
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

LDAP Authentication #1241

Open
NoraCodes opened this issue Oct 29, 2020 · 4 comments
Open

LDAP Authentication #1241

NoraCodes opened this issue Oct 29, 2020 · 4 comments
Labels
area: auth enhancement New feature or request extra: help wanted Extra attention is needed

Comments

@NoraCodes
Copy link

NoraCodes commented Oct 29, 2020

Is your proposal related to a problem?

In a sense! I want to be able to integrate Lemmy with a few other services, like Mastodon and DokuWiki. Users would be able to sign up once and get access to all services with the same password.

Describe the solution you'd like

Some kind of LDAP-based auth, or some kind of universal interface for auth so I can implement LDAP through an external service.

Describe alternatives you've considered

It would be possible to insert password hashes into the database, but this would be fragile.

Additional context

LDAP has been mentioned a few times on Mastodon and Gitter, but nobody ever opened an issue.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@NoraCodes NoraCodes added the enhancement New feature or request label Oct 29, 2020
@nikhiljha
Copy link

nikhiljha commented Oct 30, 2020

#489 is related

TL;DR: The author is open to a pull request but doesn't plan to work on this feature themselves.

The good news is I actually found a low-maintenance-burden solution to this for another Rust/Actix project. Maybe eventually(TM) I can add that to Lemmy as well.

@Nutomic Nutomic added the extra: help wanted Extra attention is needed label Nov 19, 2020
@ccoenen
Copy link

ccoenen commented Nov 28, 2020

if you could link to that other project, maybe it also helps a third party porting it over here?

@poVoq
Copy link

poVoq commented Sep 22, 2022

https://github.com/inejge/ldap3

Seems to be an actively maintained LDAP client library for Rust.

The implementation target could be this simplified LDAP server:
https://github.com/nitnelave/lldap
(which happens to be written also in Rust)

@lullis
Copy link
Contributor

lullis commented Aug 21, 2023

If there is no one working on this, I'd love to try. Caveat, I have written maybe 20 lines of Rust in my life so far and I would definitely need a mentor of sorts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: auth enhancement New feature or request extra: help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants