Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #181323
| From | Daniel Bareiro <daniel-listas@gmx.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Issue with SASL authentication |
| Date | 2017-05-24 16:00 +0200 |
| Message-ID | <tKEZs-33S-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi all! I am configuring SASL to authenticate against IMAP. When I try to authenticate, I get an error: ------------------------------------------------------------------ root@Wserver2:~# saslpasswd2 -c daniel ------------------------------------------------------------------ root@Wserver2:~# testsaslauthd -u daniel -p password 0: NO "authentication failed" ------------------------------------------------------------------ However it works when I provide the realm: ------------------------------------------------------------------ root@Wserver2:~# testsaslauthd -u daniel -r server2 -p password 0: OK "Success." ------------------------------------------------------------------ It's strange because I have another server where it works without problems: ------------------------------------------------------------------ root@mail:~# testsaslauthd -u daniel -p password 0: OK "Success." ------------------------------------------------------------------ Both hosts have Debian Jessie and the SASL configuration is the same: ------------------------------------------------------------------ root@mail:~# grep ^[^#] /etc/default/saslauthd START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="sasldb" MECH_OPTIONS="" THREADS=5 OPTIONS="-c -m /var/run/saslauthd" ------------------------------------------------------------------ root@server2:~# grep ^[^#] /etc/default/saslauthd START=yes DESC="SASL Authentication Daemon" NAME="saslauthd" MECHANISMS="sasldb" MECH_OPTIONS="" THREADS=5 OPTIONS="-c -m /var/run/saslauthd" ------------------------------------------------------------------ "mail" has some updates to apply, but I do not see any differences in the versions of the SASL packages: ------------------------------------------------------------------ root@mail:~# aptitude show libsasl2-2 | grep Versión Versión: 2.1.26.dfsg1-13+deb8u1 root@mail:~# aptitude show libsasl2-modules | grep Versión Versión: 2.1.26.dfsg1-13+deb8u1 root@mail:~# aptitude show sasl2-bin | grep Versión Versión: 2.1.26.dfsg1-13+deb8u1 ------------------------------------------------------------------ ------------------------------------------------------------------ root@server2:~# aptitude show libsasl2-2 | grep Version Version: 2.1.26.dfsg1-13+deb8u1 root@server2:~# aptitude show libsasl2-modules | grep Version Version: 2.1.26.dfsg1-13+deb8u1 root@server2:~# aptitude show sasl2-bin | grep Version Version: 2.1.26.dfsg1-13+deb8u1 ------------------------------------------------------------------ In this case I'm not doing the authentication test against IMAP but directly against SASL, so I guess the problem will be directly related to the SASL configuration itself. Any thoughts about what might differ between the two environments? Thanks in advance. Kind regards, Daniel
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Issue with SASL authentication Daniel Bareiro <daniel-listas@gmx.net> - 2017-05-24 16:00 +0200
Re: Issue with SASL authentication Daniel Bareiro <daniel-listas@gmx.net> - 2017-05-24 20:40 +0200
Re: Issue with SASL authentication Daniel Bareiro <daniel-listas@gmx.net> - 2017-05-25 02:30 +0200
Re: Issue with SASL authentication Daniel Bareiro <daniel-listas@gmx.net> - 2017-05-25 18:30 +0200
csiph-web