LDAP Signing and Channel Binding on Domain Controllers (Events 2886 to 2889, ADV190023)

Enable LDAP signing on Windows Server domain controllers without breaking clients: find unsigned binds with events 2887 and 2889, require signing by Group Policy, verify with ldp.exe, and set channel binding for ADV190023.

Home › Guides › LDAP signing and channel binding

Last updated 21 November 2026

Quick answer

LDAP signing makes a domain controller reject SASL binds that don't request signing (Negotiate, Kerberos, NTLM or Digest) and simple binds over a clear text connection (no SSL/TLS). Channel binding (the Channel Binding Token, CBT, also called EPA) is the second half of Microsoft advisory ADV190023 and covers SASL binds over LDAPS. Microsoft's order of work:

  1. Read the summary event 2887 on each DC (logged once every 24 hours) to see how many unsigned or clear text binds happened.
  2. Set the 16 LDAP Interface Events diagnostic setting to 2 (Basic) to get event 2889 with the IP address and identity of each client, and fix those clients.
  3. When no such events show up for an extended period, set Domain controller: LDAP server signing requirements to Require signing in the Default Domain Controller Policy, and set Network security: LDAP client signing requirements on the clients.
  4. Check it with ldp.exe: a simple bind on port 389 should fail with Strong Authentication Required. From then on event 2888 counts the rejected binds.
  5. For channel binding, set Domain controller: LDAP server channel binding token requirements (Never, When supported, Always).

Why Microsoft wants signing

Unsigned network traffic is open to replay attacks, where an intruder intercepts the authentication attempt and the issuance of a ticket and reuses the ticket to impersonate the user, and to man-in-the-middle attacks, where an intruder captures, changes and forwards packets between client and server. On an LDAP server that means an attacker can make the server act on forged requests from the LDAP client (KB 935834).

Once you require signing, clients that rely on unsigned SASL binds or on simple binds over a non-SSL/TLS connection stop working. That is why the events come first.

The four Directory Service events

All four are logged in the Directory Service log, source Microsoft-Windows-ActiveDirectory_DomainService, task category LDAP Interface:

Event IDLevelWhen it is logged
2886WarningAfter DS services start, as a reminder to enable signing requirements.
2887WarningSummary of the past 24 hours when problem clients were detected but permitted (the server is not configured to reject such binds).
2888InformationSummary of the past 24 hours when problem clients were rejected (the server is configured to reject such binds).
2889InformationEach time a problem client tries to connect, with its IP address and identity. Needs the extra logging below.

The 2887 summary ends with the two counters to watch:

Number of simple binds performed without SSL/TLS: <count of binds>
Number of Negotiate/Kerberos/NTLM/Digest binds performed without signing: <count of binds>

Step 1: find the clients with event 2889

Event 2889 is only logged when you raise the 16 LDAP Interface Events diagnostic entry to 2 (Basic). The entries are REG_DWORD values under:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics

For AD LDS the key is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<LDS instance name>\Diagnostics. The same change from an elevated prompt on the DC:

reg add "HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics" /v "16 LDAP Interface Events" /t REG_DWORD /d 2 /f

Microsoft's diagnostic logging article says all entries default to 0 (None), that a level of 3 or greater isn't recommended because it costs resources and can degrade performance, and that you should reset the entries to 0 when you finish investigating. A problem client then shows up like this:

Log Name:      Directory Service
Source:        Microsoft-Windows-ActiveDirectory_DomainService
Event ID:      2889
Task Category: LDAP Interface
Level:         Information
Description:
The following client performed a SASL (Negotiate/Kerberos/NTLM/Digest) LDAP bind without requesting signing (integrity verification), or performed a simple bind over a clear text (non-SSL/TLS-encrypted) LDAP connection.

Client IP address:
<IP address>:<TCP port>
Identity the client attempted to authenticate as:
contoso\<username>
Binding Type:
0 – SASL Bind that does not use signing
1 – Simple Bind that does not support signing

Configure each listed client not to use such binds. Microsoft's ADV190023 article notes that one change can fix both signing and channel binding for an application, for example moving from simple bind to SASL using Kerberos, or to TLS with simple bind.

Step 2: require signing on the domain controllers

  1. Run mmc.exe, add the Group Policy Management Editor snap-in and browse to the Default Domain Controller Policy.
  2. Go to Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > Security Options.
  3. Open Domain controller: LDAP server signing requirements, enable Define this policy setting, select Require signing and confirm with Yes.

The policy reference page adds: Require signature means the LDAP data-signing option must be negotiated unless TLS/SSL is in use; LDAP simple binds not using SSL (TCP 389) are rejected; the setting has no impact on LDAP simple bind through SSL (TCP 636). Changes take effect without a restart.

Step 3: set the client side too

Set Network security: LDAP client signing requirements to Require signing, either in Local Computer Policy or in the Default Domain Policy (or another GPO), under the same Security Options node. Microsoft's caution on the server setting: if you set the server to require signature, you must also set the client device, or the client loses its connection to the server. The client policy page warns that not setting one side can cause many features to fail, including user authentication, Group Policy and logon scripts.

SettingValuesEffective default on DCs, member servers and clients
Domain controller: LDAP server signing requirementsNone, Require signature, Not definedNone
Network security: LDAP client signing requirementsNone, Negotiate signing, Require signature, Not definedNegotiate signing

With Negotiate signing the client sets the data signing option on the bind when TLS/SSL hasn't been started. Require signing does the same, but the bind fails if the server's response doesn't indicate that signing is required.

AD LDS: the registry entry isn't there by default. Create a REG_DWORD named LDAPServerIntegrity under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<InstanceName>\Parameters: 0 = signing disabled, 2 = signing enabled. The new value takes effect immediately, with no restart.

Step 4: verify with Ldp

  1. On a computer with the AD DS admin tools, run ldp.exe.
  2. Connection > Connect: type the server name and its non-SSL/TLS port (389 for a domain controller).
  3. Connection > Bind, choose Simple bind, type a user name and password.

If you get this error, the directory server is configured correctly:

Ldap_simple_bind_s() failed: Strong Authentication Required

From now on event 2888 reports, once every 24 hours, the number of simple binds rejected because they were performed without SSL/TLS and of Negotiate/Kerberos/NTLM/Digest binds rejected because they were performed without signing.

Channel binding (ADV190023)

ADV190023 covers two separate items, each with its own events on the DCs: LDAPServerIntegrity (signing) and LdapEnforceChannelBinding (CBT). Which one matters depends on how the client connects:

Session typeSigning requirementChannel binding
Simple bind on 389, 3268 or a custom LDS port without TLS/SSLNo security: credentials go in clear text. Microsoft says to disable these by setting LDAPServerIntegrity to Required.None (CBT is used with TLS sessions)
SASL bind without TLS/SSLLDAPServerIntegrity=2 enforces signing by the client; encrypting the session meets it too.No bearing
TLS/SSL (636, 3269 or STARTTLS) with simple bindMet, because the TLS channel provides signing.No bearing; no CBT information is added
TLS/SSL with certificate authenticationMet by the TLS channel.No bearing; no CBT information is added
TLS/SSL with SASL bindMet by the TLS channel.Used. With LdapEnforceChannelBinding set to 2 the server requires CBT information and it must pass verification.

The Group Policy setting is Domain controller: LDAP server channel binding token requirements, under Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options:

ValueWhat it does
NeverNo channel binding validation. This is the behavior of all servers that haven't been updated.
When supportedClients that advertise CBT support must provide the correct token over TLS/SSL; clients that don't, or don't use TLS/SSL, aren't affected. Microsoft calls it an intermediate option for application compatibility.
AlwaysAll clients must provide channel binding information over LDAPS; the server rejects LDAPS authentication requests that don't.

Effective default on DCs and member servers: Never on Windows Server 2022 and earlier, When supported on Windows Server 2025 and later (Windows 11 version 24H2 and later clients also show When supported). Microsoft recommends Always, with the impact that clients that don't support channel binding can't run LDAP queries against the DCs. No restart is needed. Microsoft also notes that LDAP simple bind over TLS doesn't offer channel binding protection and is not recommended.

Setting up LDAPS first? See enable LDAPS with a third-party CA certificate, LDAP over SSL connection problems on port 636 and Schannel event 36884. Clients failing Group Policy with LDAP bind errors: Group Policy event 1006.

Related tools and guides

Look up Directory Service events 2886, 2887, 2888 and 2889 in the Windows Event ID Lookup, copy the reg add for 16 LDAP Interface Events lines from the PowerShell Cheat Sheet, pull the client IP addresses out of exported 2889 events with the Regex Tester, group the client addresses from event 2889 by subnet with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the vendor of a device that keeps making unsigned binds with the MAC Vendor Lookup. Related guides: enable LDAPS with a third-party CA certificate, LDAP over SSL connection problems, Group Policy event 1006 and common AD replication errors.

Every AD replication error code with its cause and fix: common Active Directory replication errors.

FAQ

What do events 2887 and 2889 mean on a domain controller?

Event 2887 is a summary logged once every 24 hours when clients made unsigned SASL binds or simple binds over a clear text connection and the server still permitted them. Event 2889 is logged for each such bind, with the client IP address and identity, once 16 LDAP Interface Events is set to 2.

How do I enable event 2889?

Set the REG_DWORD value 16 LDAP Interface Events under HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics to 2 (Basic). Microsoft says to reset diagnostic entries to 0 after you finish investigating.

How do I require LDAP signing on domain controllers?

In the Default Domain Controller Policy, under Security Settings, Local Policies, Security Options, set Domain controller: LDAP server signing requirements to Require signing. Also set Network security: LDAP client signing requirements on the clients, or they lose their connection to the server.

How do I check that LDAP signing is enforced?

Run ldp.exe, connect to the DC on port 389 and try a simple bind with a user name and password. The error Ldap_simple_bind_s() failed: Strong Authentication Required means the server is configured correctly.

What should LDAP channel binding be set to?

Microsoft recommends setting Domain controller: LDAP server channel binding token requirements to Always. When supported is an intermediate option for application compatibility. The effective default is Never on Windows Server 2022 and earlier and When supported on Windows Server 2025 and later.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.