Johannes - anyone succesfully connected Kasm Wo...
anyone succesfully connected Kasm Workspaces to lldap? i get a connection ok when i test it, but when i try to login as an ldap user i get an error "invalid user"
Solution:Jump to solution
so for me the solution is: adding our mail domain to the Alternate Username Domains, changing my usernames to match whatever we use before the @ in our emails.
7 Replies
Can you post the verbose LLDAP logs?
hang on
ow, where do i find that? 😄 LLDAP "just works" i never had to troubleshoot before much 😄
Set the LLDAP_VERBOSE=true env variable and restart the comtainer
Then docker logs will have your logs
docker? i'm not using docker 😄 i run it on Alpine ❤️
Ah, then you can set verbose in the config
And restart the service
And then, wherever your service puts its logs
can it be a problem that our email adresses are different from our ldap domain?
hmm nope, that isnt either
kasm seems to use the first part of the email adres as the user id.. but in my case the emailadres is [email protected] but my username in lldap is jjacobs
funny enough, if i use [email protected] it works 🙂
if, in LLDAP i try to create a user with the username and email equal (so, in my case, [email protected]) i get the error: Errors: [createUser:2:3: Database error:
Execution Error: error returned from database: (code: 2067) UNIQUE constraint failed: users.email
]
oh.. duh.. never mind 🙂Solution
so for me the solution is: adding our mail domain to the Alternate Username Domains, changing my usernames to match whatever we use before the @ in our emails.