Files
wekan/packages
Lauri Ojansivu 66925f0bde Show LDAP diagnostics in production when LDAP logging is on.
Everything the LDAP module logged about what it sends and hears - the
client and TLS options, the search options and base DN, the group
filters, why an authentication failed - went to Meteor's Log.debug,
which never prints when Meteor.isProduction. The snap and every bundle
run in production, so turning on ldap-log-enabled showed none of it,
and the search options printed as "[object Object]" in any case. They
now go through the LDAP logger, which prints when LDAP_LOG_ENABLED is
true and redacts secrets, as objects. A failed bind now logs the DN and
the directory's own answer (Active Directory's "data 52e" and the like),
never the password, before it is rethrown.

Thanks to rholighaus and xet7 !

Fixes #6548.
2026-10-02 17:18:23 +03:00
..