https://github.com/lldap/lldap logo
Johannes - anyone succesfully connected Kasm Wo...
# troubleshooting
j
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"
a
message has been deleted
n
Can you post the verbose LLDAP logs?
j
hang on
ow, where do i find that? 😄 LLDAP "just works" i never had to troubleshoot before much 😄
n
Set the LLDAP_VERBOSE=true env variable and restart the comtainer
Then docker logs will have your logs
j
docker? i'm not using docker 😄 i run it on Alpine ❤️
n
Ah, then you can set verbose in the config
And restart the service
And then, wherever your service puts its logs
j
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 🙂
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.