Code Monkey home page Code Monkey logo

Comments (5)

BeryJu avatar BeryJu commented on May 9, 2024 2

glauth is read-only, it's more of a library then a specific tool, and would save you from implementing your own basic LDAP server.

I think for the LDAP Server in the outpost I'll do the same as with oauth2_proxy, actually use glauth as a library but have it directly talk to the authentik API.

from authentik.

BeryJu avatar BeryJu commented on May 9, 2024

Hey,

I'm not quite sure how I feel about this suggestion, I see how it would make things easier, but there's several objections:

  • I'd prefer to not implement special support for a single tool, if it was a common protocol then it would make more sense
  • I assume you'd want the the generated config to just have the authentik users, so you can just run glauth against that? For this case I was actually playing with the idea of adding LDAP Server support to the Outpost, which would have the same outcome, and be natively integrated.
  • I want to be very careful with putting LDAP Sever in the list of features as I don't want to give the impression that a user needs an LDAP Server to setup authentik.

For the LDAP server support, are you more interested in just binding for authentication? Or full LDAP, including searches etc?

from authentik.

traverseda avatar traverseda commented on May 9, 2024

glauth is a very minimal read-only LDAP interface, that works with the data you provide it. This makes is a lot simpler then a traditional LDAP stack, it's basically a library that works with the data you provide.

I'd prefer to not implement special support for a single tool, if it was a common protocol then it would make more sense

glauth is read-only, it's more of a library then a specific tool, and would save you from implementing your own basic LDAP server.

and be natively integrated.

Sounds good, although it seems like it might be more work. Either way seems like it would solve the problem

For the LDAP server support, are you more interested in just binding for authentication? Or full LDAP, including searches etc?

Somewhere in between, basic LDAP searches to let you filter users based on groups, but definitely not a full LDAP server and all that entails. Keep it simple, keep it to the very basics to allows filtering. Stuff like (memberOf=cn=jellyfin_admin,ou=groups,dc=example,dc=com). Checking group membership is really the only search I anticipate needing.

from authentik.

traverseda avatar traverseda commented on May 9, 2024

I want to be very careful with putting LDAP Sever in the list of features as I don't want to give the impression that a user needs an LDAP Server to setup authentik.

For sure, that's why I was imagining something like "provides basic authentication for LDAP apps", make ldap a feature like OIDC or saml.

from authentik.

traverseda avatar traverseda commented on May 9, 2024

Seems like a solid plan, it seems to be one of the more sane LDAP servers/libraries out there, and it's good enough that most stuff seems to be able to authenticate against it without any real trouble.

from authentik.

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.