https://github.com/lldap/lldap logo
SunSailor - Another "Can't login" issue...This...
# troubleshooting
s
Another "Can't login" issue... This is really frustrating at the moment, as I followed exactly the docs and expected to be able to login out of the box, but nothing works. I created LLDAP via the compose.yaml from the github page, chmod the volume to 777, changed the configuration to reset admin password always - and still, nothing. All I get is a 'OPAQUE login attempt for "admin"' and the web form says "Invalid username or password". I use "admin" as user and "adminPas$word" as password. Can anyone point me in a direction for more proper troubleshooting? Am I missing something, is the compose.yaml only a "maybe" and I take it too literally?
n
Could you enable verbose mode in LLDAP? Either verbose=true in the toml, or LLDAP_VERBOSE=true in the env. Then share the entire logs of starting up (with the config dump) and trying to log in
Also, basic question, have you tried "force resetting" the password? Or deleting the DB? (I'm assuming it's empty if you haven't managed to log in)
s
I started multiple times with a fresh volume, as I'm currently in the learning and planning phase for the setup. Over time, there arrived more and more services in docker, so I want to unify user and rights management now. I will give the verbose option a try and report back later!
Ok, now it works, that is a bit random. The only thing I did was removing the default password in the docker compose...
n
Without looking at your full setup, it's hard for me to say what happened... But I'm glad it works now!
s
That's the thing, there wasn't much of a setup. Only a Raspberry in the cellar, my PC and the out of the box used docker-compose.yaml. Maybe I'll have time the next days for a dry run to analyze the exact breaking point, but at the moment, it seems, as if the default password in the yaml was the issue.