[dovecot/core] 372b7c: auth: Introduce db_ldap_bind_sasl() function

GitHub noreply at github.com
Mon Oct 10 15:55:56 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 372b7c40bf035413dd3b9677f8f50f692b3602f0
      https://github.com/dovecot/core/commit/372b7c40bf035413dd3b9677f8f50f692b3602f0
  Author: Matwey V. Kornilov <matwey.kornilov at gmail.com>
  Date:   2016-10-10 (Mon, 10 Oct 2016)

  Changed paths:
    M src/auth/db-ldap.c

  Log Message:
  -----------
  auth: Introduce db_ldap_bind_sasl() function

Do refactoring in db_ldap_connect() before fixing the SASL bind issue in the next commit.


  Commit: adb497977f0719bb75df2afcf4932125d107de4b
      https://github.com/dovecot/core/commit/adb497977f0719bb75df2afcf4932125d107de4b
  Author: Matwey V. Kornilov <matwey.kornilov at gmail.com>
  Date:   2016-10-10 (Mon, 10 Oct 2016)

  Changed paths:
    M src/auth/db-ldap.c

  Log Message:
  -----------
  auth: Fix default SASL bind for LDAP

User may configure Dovecot to use SASL bind as default bind method.  This can
be the case when ldapi:/// (or ldaps:///) with SASL EXTERNAL is used.
Currently, Dovecot returns LDAP connection to wrong bind state after first
successful auth bind, LDAP simple bind always used to rebind.  This may broke
setup when ACL in LDAP configured not to allow search/bind for such simple
bind.


Compare: https://github.com/dovecot/core/compare/bfef6891565f...adb497977f07


More information about the dovecot-cvs mailing list