Skip to content
  • There are no suggestions because the search field is empty.

Ubuntu Server Fails to Connect to AD or LDAP server

Question

I am seeing an LDAP error when users are authenticating against Titan SFTP server on Ubuntu, is there a way to fix this?

Reasoning

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.

Answer

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.

Steps
  1.  In Linux command line, enter the following command:

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

  1. Once you have run the above command, please either run the following command or reboot your server:

sudo systemctl stop titansftp

           sudo systemctl start titansftp

 

 

 

 

 

Need More Help? We’ve Got You Covered.

If you didn’t find what you were looking for, our support team is here to help. Submit a ticket and one of our experts will follow up shortly.