ERROR: Could not connect to the LDAP server!

Please post here if you have problems in using Wing FTP Server.
Post Reply
RoadWarrior
Posts: 3
Joined: Sun Feb 16, 2025 9:46 pm

ERROR: Could not connect to the LDAP server!

Post by RoadWarrior »

I have a fully functional domain controller (Windows server 2019), domain clients, and a member server with Wing FTP server installed.

I have a service account in Active Directory called: "Binduser" in the OU "Service Accounts".

Based on that I filled in the fields in the "Authentication Settings" tab.

Image

When I then tap on "Connection Test" Wing FTP server says:

"Could not connect to the LDAP server!"

Image

I have done a query via ldp.exe for the user "Binduser" and to my knowledge the authentication is successful.

Image

The actual users that need to have access to the ftp server are in a sub OU "Users" under the parent OU "Production" in the directory.

"ou=Users,ou=Production,dc=rsha,dc=de"

But I can't enter that line anywhere in Wing FTP server.

Any ideas what I'm missing?

Thanks in advance.

Cheers!
FTP
Site Admin
Posts: 2118
Joined: Tue Sep 29, 2009 6:09 am

Re: ERROR: Could not connect to the LDAP server!

Post by FTP »

OK, I just took a look on your screenshots, it seems the bind DN is wrong: cn=Binduser,ou=Service Accounts dc=rsha,dc=de
It should be: cn=Binduser,ou=Service Accounts,dc=rsha,dc=de

And the filter string would usually be: (&(objectClass=user)(sAMAccountName=%s))

If still no success, please change the port into: 3268
RoadWarrior
Posts: 3
Joined: Sun Feb 16, 2025 9:46 pm

Re: ERROR: Could not connect to the LDAP server!

Post by RoadWarrior »

I correct the Bind DN line, tried port number 3268 and change the user Filter.
Unfortunately that didn't work, still have the same error 'Could not connect to the LDAP server!'
RoadWarrior
Posts: 3
Joined: Sun Feb 16, 2025 9:46 pm

Re: ERROR: Could not connect to the LDAP server!

Post by RoadWarrior »

RoadWarrior wrote: Thu Feb 20, 2025 1:34 am I corrected the Bind DN line, tried port number 3268 and changed the user Filter.
Unfortunately that didn't work, still have the same error 'Could not connect to the LDAP server!'
Post Reply