Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LDAP connection test fails with Padding error in 3.2.3 #208

Open
tomdeadpan opened this issue Feb 23, 2023 · 1 comment
Open

LDAP connection test fails with Padding error in 3.2.3 #208

tomdeadpan opened this issue Feb 23, 2023 · 1 comment

Comments

@tomdeadpan
Copy link

tomdeadpan commented Feb 23, 2023

Hi,
We have a running LinOTP 3.2 on Debian Buster which we just upgraded to 3.2.3. However, the LDAP connection now fails to save with a "Padding is incorrect." error.

During the upate we ran "linotp init database" as requested and the LDAP connection previously worked fine in release 3.2.

Any help would be much appreciated
Thanks

@neepunkumar-plivo
Copy link

Check if the encryption key is correct. The encryption key is stored in the linotp.ini or enckey file, depending on your LinOTP version. The default location for the linotp.ini file is /etc/linotp2/linotp.ini and for the enckey file is /etc/linotp2/enckey. Make sure that the key is the same as before the upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants