Ubuntu Server Fails to Connect to AD or LDAP server

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




    • Related Articles

    • How To: Create User Authentication using AD LDAP

      How To: Create User Authentication using AD LDAP Question How can I authenticate users using LDAP? Reasoning AD LDAP is a robust and flexible authentication mechanism that offers centralized user management, enhanced security, scalability, and ...
    • How To Install Titan SFTP or Titan MFT on Linux

      How To: Install Titan on Linux Question How can I install Titan on Linux server? Reasoning We have a requirement to install a Managed File Transfer (MFT) server on a Linux platform. Answer You can install Titan easily in your Linux environment in a ...
    • Titan SFTP Server system requirements

      The following lists the minimum system requirements for running Titan SFTP Server: Supported Operating Systems Windows Server 2016 or later, all 64-bit editions (32-bit is not supported) Windows 10 Professional TH1 1507 or later, 64-bit (32-bit is ...
    • Titan MFT Server system requirements

      The following lists the minimum system requirements for running Titan MFT Server: Supported Operating Systems Windows Server 2016 or later, all 64-bit editions (32-bit is not supported) Windows 10 Professional TH1 1507 or later, 64-bit (32-bit is not ...
    • How To: Create a server with Windows LDAP authentication in Titan SFTP and Titan MFT

      Related To Titan SFTP and Titan MFT Server. Question How can I configure a server to utilize LDAP as the authentication server in Titan? Reasoning I would like to be able to integrate my current database of users so I can give them access to the ...