With the goal to connect Cyrus SASL (from Cyrus IMAP) to a simplistic LDAP server, I need to configure the ldapdb auxprop plugin to use a bind dn to connect to LDAP.
Unfortunately, it seems ldapdb is not making use of any bind dn when making requests to the LDAP server.
It is evidenced by this code where the second parameter (the bind dn) is NULL:
|
i = ldap_sasl_interactive_bind_s(cp->ld, NULL, ctx->mech.bv_val, NULL, |
Would it be possible to make this configurable so a non empty bind dn can be configured?