Am 12.11.24 um 17:38 schrieb Benjamin Renard:
Hi,
I would like to know if there is a way to get the client's IP address in the events recorded by accesslog (at least during BINDs). I found traces of requests for this dating back to 2010, but I haven't been able to determine if it was ever implemented.
if you enable loglevel "LDAP_DEBUG_STATS", then any connection to a slapd is logged: https://github.com/openldap/openldap/blob/master/servers/slapd/connection.c#...
LDAP_DEBUG_STATS = defines as 0x100 here: https://github.com/openldap/openldap/blob/master/include/ldap_log.h#L115
slapd.conf: loglevel 256
should help...
Andeas