L
LLDAP2mo ago
Johannes

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:
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.
Jump to solution
7 Replies
nitnelave
nitnelave2mo ago
Can you post the verbose LLDAP logs?
Johannes
Johannes2mo ago
hang on ow, where do i find that? 😄 LLDAP "just works" i never had to troubleshoot before much 😄
nitnelave
nitnelave2mo ago
Set the LLDAP_VERBOSE=true env variable and restart the comtainer Then docker logs will have your logs
Johannes
Johannes2mo ago
docker? i'm not using docker 😄 i run it on Alpine ❤️
nitnelave
nitnelave2mo ago
Ah, then you can set verbose in the config And restart the service And then, wherever your service puts its logs
Johannes
Johannes2mo ago
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 johannes.jacobs@domain.tld but my username in lldap is jjacobs funny enough, if i use jjacobs@domain.tld it works 🙂 if, in LLDAP i try to create a user with the username and email equal (so, in my case, johannes.jacobs@domain.tld) 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
Johannes
Johannes2mo ago
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.
Want results from more Discord servers?
Add your server