Docker-saslauthd is a SASL authentication daemon in a container. You could use this for example to bridge the gap between a SASL enabled service, and an LDAP server.
A prebuilt docker image is available:
docker pull zombi/saslauthd
The project is configurable by using the following environment variables:
SASLAUTHD_LDAP_SERVERthe hostname of the LDAP server.SASLAUTHD_LDAP_STARTTLSif StartTLS should be used.SASLAUTHD_LDAP_VERIFYif the StartTLS certificate should be only accepted if valid.SASLAUTHD_LDAP_VERSIONis the Version of LDAP that should be used.SASLAUTHD_LDAP_METHODthe mode, either 'bind' or 'search'.SASLAUTHD_LDAP_BINDDNthe dn to authenticate as.SASLAUTHD_LDAP_BINDPWthe password used for dn authentication.SASLAUTHD_LDAP_BASEthe path under which the user accounts can be found.SASLAUTHD_LDAP_FILTERthe filter searched for searching user accounts.