Package: dovecot-core
Version: 1:2.2.13-12~deb8u1
Severity: normal

When invoking doveadm auth without any -x parameter, the SQL
database sees the following invalid query:

   pgsql: Query failed, aborting: SELECT p.userid, p.password, u.uid AS 
userdb_uid, u.gid AS userdb_gid, u.home AS userdb_home, u.mail AS userdb_mail 
FROM dovecotpassword('test','pantsfullofunix.net') p, dovecotuser('test', 
'pantsfullofunix.net') u WHERE doveadm
   Error: sql(t...@pantsfullofunix.net): Password query failed: ERROR:  column 
"doveadm" does not exist

Either -x needs to be made mandatory, or %s in the query needs to be
expended to e.g. 't' to always evaluate to true.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
 .''`.   martin f. krafft <madduck@d.o> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to