https://github.com/lldap/lldap logo
JBtje - I’m trying to migrate away from truecha...
# troubleshooting
j
I’m trying to migrate away from truecharts lldap implementation, basically Kubernetes on truenas, to docker (on windows). Via pgadmin, copied all lldap tables over to the user.db file in docker, including the blob passwords. In docker, I set the
LLDAP_JWT_SECRET
to the value I found in Kubernetes. When I try to login with the admin account on the docker environment, I get the message “Corrupted password file for” What am I doing wrong?
a
message has been deleted
n
How did you set up the private key/key seed?
j
in the kubernetes i didnt find any indication that it was setup, so i left it (meaning it should use the toml default RanD0m STR1ng
but... if that seed is used for the password as well, i think that would be the problem?
n
There's a file in /data/private_key that contains the generated random secret for encrypting the passwords. You need to copy that from the previous installation to the new one
j
Thank you very much! It took a bit of time, since the app used a POD (and i had no idea how it works) but, i managed to extract the private_key file!
a
message has been deleted