Page 1 of 1

ERROR: Could not connect to the LDAP server!

Posted: Sun Feb 16, 2025 10:17 pm
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!

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

Posted: Tue Feb 18, 2025 3:57 pm
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

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

Posted: Thu Feb 20, 2025 1:34 am
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!'

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

Posted: Thu Feb 20, 2025 4:27 pm
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!'