Skip to content

Cannot configure non empty bind dn with ldapdb auxprop plugin #629

@mildred

Description

@mildred

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions