LDAP debug flag produces no logs #7987
Unanswered
digikwal
asked this question in
Error / Bug Report
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Enabling Developer Tools → LDAP Debug does not produce useful debug output for LDAP login attempts in Wiki.js 2.5.312.
Environment
2.5.312(requarks/wiki:2)What I observed
Source-level findings
The resolver-level LDAP debug check is tied to:
But
args.strategyis the strategy record key (UUID), not literalldap.This can suppress expected debug logging even when LDAP debug is enabled.
Why this matters
The UI option says it logs detailed LDAP/AD login debug info, but real-world behavior can be effectively silent, making LDAP troubleshooting more difficult.
Suggested direction
Make LDAP debug logging strategy-type aware (
strategyKey === 'ldap') and broaden failure-path logging so failed LDAP attempts consistently produce actionable logs.File, line, issue
server/graph/resolvers/authentication.js:105Issue: LDAP debug logging is gated by
args.strategy === 'ldap'. In real setups,args.strategyis often the auth record key (UUID), so the LDAP debug branch is skipped and no useful log is emitted.Proposed solution
strategyKeyldapdebugis enabled.args.strategyin the warning context for easier traceability.Beta Was this translation helpful? Give feedback.
All reactions