Support
 
Phone Get Quote
 
Support
 
US: +1 888 720 9500
US: +1 888 791 1189
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9892

 

How to test LDAP connections

Client computers and applications can authenticate with Active Directory through LDAP bind operations. Unsigned LDAP binding is prone to Man-in-the-Middle (MitM) attacks where a hacker captures data packets between the client and server, changes the packet, and sends it to the server. System admins need to track LDAP connections since such attacks on the AD domain controller can cause a server to make decisions based on fallacious requests from the LDAP client.

The following is a comparison to obtain reports for LDAP binding tests using native auditing and ManageEngine's ADAudit Plus, a comprehensive real-time Active Directory auditing solution.

Download for FREE
Free, fully functional 30-day trial
  • With Native AD Auditing

  • With ADAudit Plus

  • Login to ADAudit Plus web console as an administrator.

  • Navigate to the Server Audit tab and from the LDAP Auditing section in the left pane, select the Attempt to make LDAP connection report.

  • In the top right corner, select the Domain from the drop-down list and click Generate.

  • Select Export As to export the report in any of the preferred formats (CSV, PDF, HTML, CSVDE and XLSX).

    how-to-test-ldap-connection-4
  • Open Group policy management console.Create a new GPO and edit it -> Computer configuration -> Policies -> Windows Settings -> Security Settings -> Local Policies -> Audit Policy:

    1. Audit Account Management -> Check the box for Success

    2. Audit Directory Service Access -> Check the box for Success

  • Click Apply.

  • Navigate to Security Settings Level ->

  • Properties -> Event Log:

    1. Maximum security log size -> Define to 4,000,000 KB (or 4 GB)

    2. Retention method for security log -> Define to Overwrite events as needed

    how-to-test-ldap-connection-1
  • Link the new GPO: Navigate to "Group Policy Management" -> Right-click domain or OU -> Click "Link an existing GPO" -> Choose the newly created GPO

  • Force the group policy update: In "Group Policy Management", right-click the defined OU -> Choose "Group Policy Update"

  • Open ADSI Edit -> Right-click ADSI Edit -> Connect to Default Naming Context -> Right-click DomainDNS object with your domain name -> Properties -> Security -> Advanced -> Auditing -> Add Principal "Everyone" -> Type "Success" -> Applies to "This object and descendant objects" -> Mark all checkboxes except "Full Control, List Contents, Read all properties, Read Permissions" -> Select "OK"

  • Configure LDAP:

  • For server LDAP signing,

  • Domain controller: Go to Computer configuration -> Windows Settings -> Security Settings -> Local Policies -> Security options -> LDAP server signing requirements

  • For client LDAP signing,

  • Network security: Go to Computer configuration -> Windows Settings -> Security Settings -> Local Policies -> Security options -> LDAP client signing requirements

    how-to-test-ldap-connection-2
  • Open Event viewer -> Filter Security log to locate event IDs (Windows Server 2003/2008-2012):

    1. 2886: LDAP signing is not enabled in the domain

    2. 2887: Successful unsigned binding

    how-to-test-ldap-connection-3

Native auditing becoming a little too much?

Simplify LDAP auditing and reporting with ADAudit Plus.

Get Your Free Trial Fully functional 30-day trial

Here are some of the limitations to generate a report to test LDAP connection in Active Directory using native auditing:

  • The report is not easy to comprehend at one glance.
  • It's difficult to generate the report for different time zones and date formats.

With ADAudit Plus, it is easy to obtain a report of LDAP connection tests in Active Directory in just a few clicks. The details like when the LDAP bind occurred, and from which domain, are displayed in a simple and intuitively designed UI.

Request 1-on-1 demo

  •  
  •  
  •  
  •  
  •  
  • -Select-
  • By clicking 'Submit' you agree to processing of personal data according to the Privacy Policy.

Thanks

One of our solution experts will get in touch with you shortly.

ADAudit Plus Trusted By