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.



Reply via email to