LDAP operation logging for Active Directory

Krug, Alan M 0 Reputation points
2023-11-16T22:32:04.5666667+00:00

Is there any mechanism to log all LDAP operation details for Active Directory on the domain controllers (preferably in one place)? I know you can turn on diagnostic logging for queries, but I want to see things like modify operations and what attributes are being modified along with the return codes back to the clients as well as bind calls with the actual DN string being sent by the client. AD Insight (the SysInternals tool) did some of that, but it was meant to be run at the client end, not the domain controller. I've tried turning on various options in the NTDS Diagnostics registry key, but I don't get anything that seems useful. Google searches haven't turned up much other than the query logging. Even if it's a third party tool, I'm just looking for anything that can give me the data. I'd use Wireshark, but it can be hard to grab the data on a busy server and there's no way to use it when the client is using LDAPS with an encryption cipher that can't be decrypted with the private key alone.

Windows for business Windows Client for IT Pros Directory services Active Directory
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amit Singh 5,306 Reputation points
    2023-11-17T05:47:37.31+00:00

    On domain controllers, several techniques exist to log all LDAP activity information for Active Directory. Here are several possibilities:

    1. Enable LDAP auditing
    2. Use a third-party tool
    3. Use Wireshark
    4. Use a dedicated LDAP capture tool
    5. Use a SIEM (Security Information and Event Management) tool

    Let me know if you have any queries.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.