mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 20:45:00 -05:00
ldapts opens its socket lazily. Test connection connected and then bound only when LDAP_AUTHENTIFICATION was set, so without a service account no operation ran and it reported success even for a host that does not resolve. Per the maintainer decision of 2026-10-08 a test without credentials now does an anonymous base-scope search of LDAP_BASEDN (no attributes, one entry at most) and succeeds only when the directory answered; otherwise the directory's own error is shown. Without a base DN it says nothing could be tested. Thanks to xet7 !