Skip to content

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

Closed

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?

Activity

  1. added this to the 2.1.28 milestone on Jun 21, 2021
  2. removed this from the 2.1.28 milestone on Oct 12, 2021
  3. quanah commented on Oct 12, 2021

    @quanah
    Contributor

    ldapdb is specifically designed only to support sasl binds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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