Bug#636534: libsasl2-2: Hostname lookup has to succeed in 2.1.24 (didn't matter in 2.1.23)

Tyson Whitehead twhitehead at gmail.com
Wed Aug 3 20:39:54 UTC 2011


Package: libsasl2-2
Version: 2.1.24~rc1.dfsg1+cvs2011-05-23-4
Severity: normal

Under 2.1.24, libsasl fails if it can't resolve the current hostname.  That is, if
my current hostname is resolved by /etc/hosts, I get

$ imtest -s -a tyson my.mailhost.ca
verify error:num=18:self signed certificate
TLS connection established: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
S: * OK Dovecot ready.
C: C01 CAPABILITY
S: * CAPABILITY IMAP4rev1 SASL-IR SORT THREAD=REFERENCES MULTIAPPEND UNSELECT LITERAL+ IDLE CHILDREN NAMESPACE LOGIN-REFERRALS AUTH=PLAIN
S: C01 OK Capability completed.
Please enter your password: 
C: A01 AUTHENTICATE PLAIN ******
S: A01 OK Logged in.
Authenticated.
Security strength factor: 256
^CC: Q01 LOGOUT
Connection closed.

If it is not, then I get

$ imtest -s -a tyson my.mailhost.ca
failure: SASL initialization

If I downgrade to the 2.1.23 version it does not matter whether my current hostname
resolves or not.  It works either way.

Cheers!  -Tyson

PS:  This is the root source of the very strange KMail error

Unable to authenticate via PLAIN.
The server my.mailhost.ca replied:
SASL(0): successful result:

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsasl2-2 depends on:
ii  libc6                         2.13-10    Embedded GNU C Library: Shared lib
ii  libdb5.1                      5.1.25-10  Berkeley v5.1 Database Libraries [

Versions of packages libsasl2-2 recommends:
ii  libsasl 2.1.24~rc1.dfsg1+cvs2011-05-23-4 Cyrus SASL - pluggable authenticat

libsasl2-2 suggests no packages.

-- no debconf information





More information about the Pkg-cyrus-sasl2-debian-devel mailing list