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 Install Titan NextGen on Linux

      How To: Install Titan NextGen on Linux Question How can I install Titan NextGen 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 NextGen easily in your ...
    • How To: Create a server with Windows LDAP authentication in Titan Nextgen

      Related To Titan Nextgen Builds 1.x and above. Question How can I configure a server to utilize LDAP as the authentication server in Titan Nextgen? Reasoning I would like to be able to integrate my current database of users so I can give them access ...
    • How To Prevent Insecure ADSI/LDAP User Authentication

      How To: Prevent Insecure ADSI/LDAP User Authentication Question How can I prevent insecure user authentication via ADSI or LDAP/S and other potential security vulnerabilities due to Unauthenticated Binds in Windows Active Directory (AD)? Reasoning By ...
    • CISCO fails to connect or fails to backup

      Customers using Titan/Cornerstone as a backup solution for their CISCO environment may report that the CISCO device fails to connect, or fails to backup, to the Titan/Cornerstone server. After working with many customers we have ascertained that the ...
    • How To: Create a server with AD authentication in Titan Nextgen

      Related To Titan Nextgen Builds 1.x and above. Question How can I configure a server to utilize windows active directory as the authentication server in Titan Nextgen? Reasoning I would like to be able to integrate my current AD users so I can give ...