LDAPDebug

Parameter: LDAPDebug
Short description: Activates detailed debug logging of the LDAP task in HCL Domino — bind attempts, search filters, schema lookups, and referrals.

Profile

Parameter
LDAPDebug
Category
Logging / Debug
Component
Server
Available since
9.0.1 (and earlier)
Supported versions
9.0.1, 10.0, 11.0, 12.0, 14.0, 14.5, 14.5.1
GUI equivalent
notes.ini only (no GUI)
Possible values
0 = off (default) • 1 = Query • 2 = Result • 3 = 1+2 • 4 = Authentication • 5 = 1+4 • 6 = 2+4 • 7 = all • 8–15 = even more verbose

Description

LDAPDebug activates a binary-graded debug logging for the LDAP task of the Domino server. Depending on the value set, Domino logs different aspects of an LDAP operation:
  • Query information (bit 1): received search filter, base DN, scope, attribute list
  • Result information (bit 2): returned entries, number of hits, result codes
  • Authentication information (bit 4): LDAP bind attempts, DN used, success/failure
The values are combined as bit flags: LDAPDebug=7 enables Query + Result + Authentication together, LDAPDebug=5 only Query + Authentication, etc. Values between 8 and 15 provide even more detailed information (internal schema lookups, referral chasing).
The parameter is the standard tool to diagnose situations where LDAP searches return unexpected results, external LDAP clients fail to bind, Directory Assistance lookups fail, or LDAP-based authentication does not work in an application.

Example configuration

LDAPDebug=7 Debug_Outfile=c:\debug\ldap.txt
Runtime activation without server restart — takes effect after restart task ldap:
set config LDAPDebug=7 restart task ldap
Deactivate again after analysis:
set config LDAPDebug=0 restart task ldap

Notes & pitfalls

  • Takes effect only for the LDAP task, not for LDAP searches Domino performs internally via Directory Assistance / NAB lookups.
  • For persistent output, always set Debug_Outfile=... — otherwise the output only appears transiently in the console or console log.
  • Changes usually only take effect after restart task ldap (not after a short wait as with many other LDAP configuration values).
  • Log volume can grow very rapidly on busy LDAP servers — plan for log rotation/CONSOLE_LOG_MAX_KBYTES, do not leave permanently active.
  • Pairs well with WEBAUTH_VERBOSE_TRACE (web auth view) and Log_Authentication (NRPC auth view).
  • Security note: at the authentication tracing level (bit 4), bind DNs appear in the log file — review before delivering to support.

Sources (HCL Product Documentation)