LDAP Bind Error

I recently tested installing Onlyoffice Docspace Community (latest version) on an Ubuntu 22.04 server and also on Debian 12, both HTTPS and with all features working, but when I try to enable LDAP for an Active Directory Windows Server 2019, it starts giving the following error to import users:

2025-01-10 15:45:21,735|ERROR|[64]|ASC.ActiveDirectory.Novell.NovellLdapSearcher - Search((Samaccoutname=*)) failed|LdapException: Operations Error (1) Operations Error
LdapException: Server Message: 000004DC: LdapErr: DSID-0C090C77, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v4563
LdapException: Matched DN:

This log was taken from /var/log/api.log

Users are sometimes imported if I keep clicking consecutively to import, but when logging in they receive a timeout or internal error.
There is no firewall blocking, I have already tested releases without restrictions, through the browser console I also did not identify any errors.
Can anyone help me resolve this situation?

Hi @lordkaly

Please ensure that the user search filter is configured correctly in the LDAP settings.

I solve it, it was a problem related to the use of IPv6, so I disabled IPv6 in Nginx, Openresty, RabbitMQ, MySQL, OpenSearch and PostgreSQL. It started working without errors and even faster.
I preferred not to disable it through grub to avoid errors when updating the tool in the future.

1 Like