Kuaqe - Hey, am setting up the LLDAP docker con...
Hey, am setting up the LLDAP docker container standalone (before integration), and im having trouble with logging in as admin - Invalid username or password
- the /data folder is persistent
- both the config.toml file and users.db file are there and populated, but changing the toml doesnt seem to help
- server has been restarted several times
- usernames used: "admin" "lldap_admin" neither has worked
- password has been the same one set using LLDAP_LDAP_USER_PASS var each time
i think the environment vars arent being read properly(?)
some values changed for privacy
Solution:Jump to solution
Stupid question, stupider solution sigh
Persisting the /data folder means the admin does not get a password if you start the docker container without the LLDAP_LDAP_USER_PASS ENV variable (which a lot of ppl might do, since its not listed in the sample docker compose)
so i had to delete the users.db and recreate it for the admin login to work...
1 Reply
Solution
Stupid question, stupider solution sigh
Persisting the /data folder means the admin does not get a password if you start the docker container without the LLDAP_LDAP_USER_PASS ENV variable (which a lot of ppl might do, since its not listed in the sample docker compose)
so i had to delete the users.db and recreate it for the admin login to work
Please add this to the I can't log in! section or add the ENV variable to the docker compose example. Thanks!