directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tou-Soua Heu <tousoua...@fico.com>
Subject Auditing if anonymous LDAP connections are being made
Date Thu, 12 Jun 2014 18:47:04 GMT
How can you check if there are anonymous LDAP connections to ApacheDS 2.0?



According to the user manual (section 5.3.1 Logs overview, see https://directory.apache.org/apacheds/advanced-ug/5.3-logs.html
) this should work but it seems to log anything:



# Logs all executed operations (search, add, delete, etc.)

log4j.logger.org.apache.directory.server.OPERATION_LOG=DEBUG

# Logs all incoming and outgoing LDAP Protocol requests/responses

log4j.logger.org.apache.directory.api.CODEC_LOG=DEBUG



So I ended up with changing "log4j.rootCategory=DEBUG". Unfortunately this puts a lot of noise
in the apacheds.log file. In this case, what is the log entry that records the LDAP connection
look like and what does it say when it’s anonymous vs. authenticated?



Thanks.



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message