[dovecot/core] 06bd7c: lib-ldap: Store error if sending request to LDAP f...

GitHub noreply at github.com
Wed Aug 16 12:30:12 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 06bd7c80e7c2221ab2f5d47a619fad715ba01e88
      https://github.com/dovecot/core/commit/06bd7c80e7c2221ab2f5d47a619fad715ba01e88
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

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

  Log Message:
  -----------
  lib-ldap: Store error if sending request to LDAP fails

If the request cannot be sent e.g. due to bad search filter
store the error into the result.

Fixes Panic: file ldap-connection.c: line 709 (ldap_result_has_failed): assertion failed: ((result->openldap_ret == LDAP_SUCCESS) == (result->error_string == NULL))


  Commit: 069ad83cf6762743feb5439565adb341b009a4f3
      https://github.com/dovecot/core/commit/069ad83cf6762743feb5439565adb341b009a4f3
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/plugins/dict-ldap/dict-ldap.c

  Log Message:
  -----------
  dict-ldap: Escape LDAP search filter properly

This is syntaxical escaping to make ldap servers accept queries
with escapable characters, instead of erroring out. It is possible
that the filter could have been modified in unexpected ways
if the input comes from untrusted sources.


  Commit: 8a46713181a4c38060bdd8c7facd36df0584aee3
      https://github.com/dovecot/core/commit/8a46713181a4c38060bdd8c7facd36df0584aee3
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

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

  Log Message:
  -----------
  auth: Escape LDAP search filter properly

This is syntaxical escaping to make ldap servers accept queries
with escapable characters, instead of erroring out.


  Commit: 2bfe0fdc36b1104c181043763c1f4321dc061f39
      https://github.com/dovecot/core/commit/2bfe0fdc36b1104c181043763c1f4321dc061f39
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/lib-storage/mail-storage-service.c
    M src/lib-storage/mail-storage-service.h

  Log Message:
  -----------
  lib-storage: added settings updating function for the mail_storage_service user


  Commit: 81db0272ddecc4fc6677a9eb6e66fb385d87d602
      https://github.com/dovecot/core/commit/81db0272ddecc4fc6677a9eb6e66fb385d87d602
  Author: Sergey Kitov <sergey.kitov at open-xchange.com>
  Date:   2017-08-16 (Wed, 16 Aug 2017)

  Changed paths:
    M src/doveadm/doveadm-mail.c

  Log Message:
  -----------
  doveadm: mailbox_list_index_very_dirty_syncs disabled for force-resync

prerun of cmd force-resync sets mailbox_list_index_very_dirty_syncs to
no for mail_storage_service_user befor mail_user is allocated.


Compare: https://github.com/dovecot/core/compare/ee5ac22d19e9...81db0272ddec


More information about the dovecot-cvs mailing list