L
LLDAP4mo 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
nitnelave4mo ago
Can you post the verbose LLDAP logs?
Johannes
JohannesOP4mo ago
hang on ow, where do i find that? 😄 LLDAP "just works" i never had to troubleshoot before much 😄
nitnelave
nitnelave4mo ago
Set the LLDAP_VERBOSE=true env variable and restart the comtainer Then docker logs will have your logs
Johannes
JohannesOP4mo ago
docker? i'm not using docker 😄 i run it on Alpine ❤️
nitnelave
nitnelave4mo ago
Ah, then you can set verbose in the config And restart the service And then, wherever your service puts its logs
Johannes
JohannesOP4mo 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 [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
Johannes
Johannes4mo 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