Giter Site home page Giter Site logo

Kasm Integration about lldap HOT 3 CLOSED

OscarCy avatar OscarCy commented on May 31, 2024
Kasm Integration

from lldap.

Comments (3)

jakob42 avatar jakob42 commented on May 31, 2024 1

Works fine for me. My settings:

search filter: (&(objectClass=person)(uid={0})(memberof=cn=kasm,ou=groups,dc=example,dc=com))
group membership filter: (&(member={0})(objectClass=groupOfUniqueNames))

I'll try to submit a pull request with documentation next week.

My problem was I missed the need to add the "domain" to the login. So I need to login with [email protected]. Otherwise it wont even query the ldap server.

Thanks for this neat software nitnelave!

from lldap.

jakob42 avatar jakob42 commented on May 31, 2024 1

I guess we can close this? There is documentation now

from lldap.

nitnelave avatar nitnelave commented on May 31, 2024

Hi! I haven't tried myself to set up Kasm, but let me have a look at your config.

The group membership filter seems to be missing a member={0} (unless it cut in the screenshot?): my understanding is that it returns all the user's groups, so it has to be filtered on a specific user.
If you want to only get users from a specific group, you can add a memberOf=cn=my_group,ou=groups,dc=.. to the search filter (the user search filter).

Now, for the login error: to check if a given user's password is correct, typical LDAP clients will try to log in as that user (and that's the recommended way). That's why you see a login error for the user, and not for the admin.

To better understand what's going on, it would be helpful to provide the full verbose logs (verbose=true in the config or LLDAP_VERBOSE=true in the env): that will include the queries and responses.

from lldap.

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.