commit | 1997ecaa0c5eaed39b6ce4a50f8018f0ef2df134 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Fri Apr 03 23:13:50 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 27 09:39:38 2020 +0200 |
tree | 0a8c008948b93351cc20ccdcb35dc98a5aa7e44d | |
parent | f2b3be5c27dac436183980e60cc508e9241635ee [diff] |
MEDIUM: checks: Implement LDAP check using tcp-check rules A shared tcp-check ruleset is now created to support LDAP check. This way no extra memory is used if several backends use a LDAP check. The following sequance is used : tcp-check send-binary "300C020101600702010304008000" tcp-check expect rbinary "^30" min-recv 14 \ on-error "Not LDAPv3 protocol" tcp-check expect custom The last expect rule relies on a custom function to check the LDAP server reply.