Add SASL support to LDAP KDB module Add variables for the SASL mechanism, authcid, authzid, and realm. If a SASL mechanism is set, perform an interactive bind with that mechanism. If is found at build time, provide the authcid, authzid, and realm in the interaction function, and provide a SASL secret read from the service password file (under the authcid) if we found one. Based on a patch from Zoran Pericic . https://github.com/krb5/krb5/commit/e94082d8c923cff454c1bc53b377ba394a3cec3c Author: Greg Hudson Commit: e94082d8c923cff454c1bc53b377ba394a3cec3c Branch: master src/Makefile.in | 1 + src/config/pre.in | 3 + src/configure.in | 6 ++ src/include/k5-int.h | 8 ++ src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h | 4 + src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap_conn.c | 87 +++++++++++++++++++--- src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c | 68 +++++++++++++++++ 7 files changed, 167 insertions(+), 10 deletions(-)