Channel binding is a key security measure used to prevent relay and man-in-the-middle (MITM) attacks on LDAP connections. While LDAP signing already provides an important layer of security, channel binding fills in the remaining gaps, especially in scenarios involving TLS termination. Let’s break down what this means and why both mechanisms are necessary.

Quick Recap on LDAP Signing

Here are some key points to remember about LDAP signing.

At a glance, the LDAP signing seems comprehensive. But let’s think like an attacker.

The Security Loophole

Important Notes

LDAP Channel Binding Enforcement Settings

LDAP channel binding was introduced in March 2020 and is supported as far back as Windows Server 2008. It's controlled via the Group Policy setting.

Domain controller: LDAP server channel binding token requirements

This corresponds to the registry key.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters\LdapEnforceChannelBinding

Policy Options

Note. This registry setting doesn’t exist until configured. Once applied, it takes effect immediately—no reboot required.

Client Support

No special configuration is required on the client side—only support for Extended Protection for Authentication (EPA), introduced in August 2009.

Auditing and Event Logs

Windows Server 2019/2022 (with updates from Nov 2023)

Windows Server 2016 and earlier.

Event ID 3039

If you’re using older domain controllers, consider enforcing channel binding on a few DCs and monitoring 3039 events as a test, before deploying across the domain.

DCs

Load Balancing Considerations

Load balancing LDAP traffic can be problematic when enforcing channel binding.

Best Practices: Do's and Don'ts

  1. Do

    • Understand that channel binding only applies to SASL binds over TLS.

    • Begin with “When supported” enforcement—it's a low-risk starting point.

    • Use a central logging solution for monitoring event IDs 3039, 3074, and 3075.

    • Plan upgrades—Server 2016 extended support ends in January 2027.

  2. Don't

    • Assume legacy clients like Windows XP block you from enabling channel binding—they likely don't use TLS for SASL binds.

    • Configure “Always” enforcement without first investigating the source of 3075 events.

    • Rely on LDAP signing alone—TLS termination still poses a risk that only channel binding can mitigate.

By understanding the limitations of LDAP signing and the benefits of channel binding, you can confidently secure your environment against modern LDAP relay threats. Start with "When supported" enforcement, monitor your logs, and then gradually move toward "Always"—all while ensuring your apps and clients are compatible.