[dovecot/core] d76a91: auth: If auth request contains "debug" field, enab...

GitHub noreply at github.com
Fri Mar 11 05:57:06 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d76a91450e0aa439403b49288e765c5046e2a9a7
      https://github.com/dovecot/core/commit/d76a91450e0aa439403b49288e765c5046e2a9a7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-11 (Fri, 11 Mar 2016)

  Changed paths:
    M src/auth/auth-request.c
    M src/auth/auth-request.h
    M src/auth/db-ldap.c
    M src/auth/passdb-imap.c
    M src/auth/userdb-prefetch.c

  Log Message:
  -----------
  auth: If auth request contains "debug" field, enable auth_debug=yes for the request.


  Commit: 2087543679f0b35a8f70e1277b234e66ffdf96ed
      https://github.com/dovecot/core/commit/2087543679f0b35a8f70e1277b234e66ffdf96ed
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-11 (Fri, 11 Mar 2016)

  Changed paths:
    M src/doveadm/doveadm-auth.c
    M src/doveadm/doveadm-settings.c
    M src/doveadm/doveadm-settings.h
    M src/lib-auth/auth-client-request.c
    M src/lib-auth/auth-client.h
    M src/lib-auth/auth-master.c
    M src/lib-auth/auth-master.h

  Log Message:
  -----------
  doveadm-auth: If auth_debug setting is enabled, send "debug" field to auth lookups.

The idea is that you could enable auth_debug for specific requests with e.g.:

doveadm -o auth_debug=yes user user at example.com


  Commit: 6aafdd81aa1e12c127941c1ebd87e8ee4697ec3e
      https://github.com/dovecot/core/commit/6aafdd81aa1e12c127941c1ebd87e8ee4697ec3e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-03-11 (Fri, 11 Mar 2016)

  Changed paths:
    M src/auth/auth-master-connection.c
    M src/auth/auth-master-connection.h
    M src/auth/auth-request-handler.c
    M src/auth/auth-request-handler.h

  Log Message:
  -----------
  auth: Code cleanup - avoid using void *context

auth_request_callback_t always uses struct auth_client/master_connection*
in the context - no need to try to be too generic here.


Compare: https://github.com/dovecot/core/compare/3b39022ea051...6aafdd81aa1e


More information about the dovecot-cvs mailing list