[dovecot/core] 20e68d: lib-ldap: Support libldap without LDAP_OPT_X_TLS_N...

GitHub noreply at github.com
Mon May 23 12:00:16 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 20e68d86f08b614c77ade09163fbb4d4654d25ef
      https://github.com/dovecot/core/commit/20e68d86f08b614c77ade09163fbb4d4654d25ef
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M src/lib-ldap/ldap-connection.c

  Log Message:
  -----------
  lib-ldap: Support libldap without LDAP_OPT_X_TLS_NEWCTX.


  Commit: 24234b1714ee1ae04b9b55b11e7916d75766929f
      https://github.com/dovecot/core/commit/24234b1714ee1ae04b9b55b11e7916d75766929f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-23 (Mon, 23 May 2016)

  Changed paths:
    M src/lib-ldap/ldap-connection.c

  Log Message:
  -----------
  lib-ldap: Use ldap_unbind_ext() instead of ldap_destroy()

This allows it to compile with older LDAP libraries. Their behavior (at least
in OpenLDAP) is identical as long as LDAP_OPT_CLIENT_CONTROLS haven't been
changed, which we haven't.


Compare: https://github.com/dovecot/core/compare/153528ae66c7...24234b1714ee


More information about the dovecot-cvs mailing list