Question
I am seeing an LDAP error when users are authenticating against Titan SFTP server on Ubuntu, is there a way to fix this?
I have Titan SFTP server installed on my Ubuntu server and would like to utilize the LDAP connector functionality so I can connect to an LDAP server and import a group of users into Titan SFTP server. However, when I do so, any user that connects will always fail with Error: 10035; The user credentials were invalid.
If using Ubuntu 20.04.6 LTS, there is an issue in .net where it points to an incorrect LDAP library and causes issues with the user logins. You can downgrade Ubuntu to version 22.04.4 LTS or create a symbolic link to the correct LDAP library as described in this KB to resolve this issue.
sudo ln -s /usr/lib/x86_64-linux-gnu/libldap-2.5.so.0 /usr/lib/x86_64-linux-gnu/libldap-2.4.so.2
sudo systemctl stop titansftp
sudo systemctl start titansftp