Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

LDAP Channel Binding

by chenson00 (Initiate)
on Mar 25, 2020 at 18:59 UTC ( #11114646=perlquestion: print w/replies, xml ) Need Help??

chenson00 has asked for the wisdom of the Perl Monks concerning the following question:

Hello Perl Wisefolk, my organization has long used a fairly simple LDAP implementation based on Net::LDAP. A key snippet of our code:
my $netldap = Net::LDAP->new( $server, port => $port ); if ( $netldap ) { $conn = $netldap->bind( $self->{ 'user' }->{ 'ldapdn' }, password => $password ); ( $conn->code() ) ? die('LDAP ' . IBEX::_LOGIN::USER_LOOKUP::LOGIN_FAILED() ) : 1; #in Net::LDAP 0 = good login, true = bad login if ( $netldap ) { $netldap->unbind(); } }
As you may know, Microsoft has raised concerns about Man-In-The-Middle attacks on insecure LDAP connections. Microsoft's recommendation is for system administrators to harden their LDAP configurations by requiring two things: LDAP Signing and LDAP Channel Binding.
My understanding of these two concepts are as follows:

What is LDAP Signing?
LDAP signing is the process of digitally signing LDAP traffic.

What is LDAP Channel Binding?
LDAP channel binding refers to binding the TLS tunnel and the LDAP application layer together to create a unique fingerprint, called Channel Binding Token (CBT).

For the LDAP Signing concern, I have found lots of helpful Perl documentation on ways to accomplish this using various combos of Net::LDAPS and Authen::SASL, so I think I'm good there.
But for LDAP Channel Binding I am hitting a brick wall. I don't believe the implementing of LDAP Signing will "magically" also take care of LDAP Channel Binding.. this sounds like a different beast. Nor have I found any information on implementations of LDAP Channel Binding done in Perl. Has anyone dealt with this?

Replies are listed 'Best First'.
Re: LDAP Channel Binding
by chenson00 (Initiate) on Mar 25, 2020 at 19:03 UTC
    Here is the Microsoft advisory:

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://11114646]
Front-paged by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2020-04-04 12:56 GMT
Find Nodes?
    Voting Booth?
    The most amusing oxymoron is:

    Results (32 votes). Check out past polls.