Gentoo Archives: gentoo-user

From: laurent@××××××××××××.org
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cyrus-sasl 2.1.23 remote server rejected your credentials
Date: Thu, 22 Apr 2010 13:43:06
Message-Id: 41e489a073d0c97147f6f64d4fbf7d28.squirrel@logiquefloue.org
1 I changed back to a saved /etc/postfix/main.cf file I had.
2 The PLAIN LOGIN auth reappear fine, STARTLS work
3
4 still
5
6 testsaslauthd -u user@××××××.com -p password
7 0: NO "authentication failed"
8
9 logs:
10
11 Apr 22 14:08:48 xx saslauthd[12159]: do_auth : auth failure:
12 [user=user@××××××.com] [service=imap] [realm=] [mech=rimap] [reason=remote
13 server rejected your credentials]
14 Apr 22 14:48:47 xx saslauthd[12161]: do_auth : auth failure:
15 [user=user@××××××.com] [service=imap] [realm=] [mech=rimap] [reason=remote
16 server rejected your credentials]
17
18 so I tried with telnet and my username password base64 encoded with this:
19 % printf 'username\0username\0password' | openssl base64
20
21 and I got those:
22
23 telnet localhost 587
24 Trying 127.0.0.1...
25 Connected to localhost.
26 Escape character is '^]'.
27 220 host.domain.com ESMTP Postfix
28 EHLO localhost
29 250-host.domain.com
30 250-PIPELINING
31 250-SIZE 10240000
32 250-VRFY
33 250-ETRN
34 250-STARTTLS
35 250-AUTH LOGIN PLAIN
36 250-AUTH=LOGIN PLAIN
37 250-ENHANCEDSTATUSCODES
38 250-8BITMIME
39 250 DSN
40 STARTTLS
41 220 2.0.0 Ready to start TLS
42 AUTH PLAIN myencodedbase64string=
43 Connection closed by foreign host.
44
45 ~ # telnet localhost 587
46 Trying 127.0.0.1...
47 Connected to localhost.
48 Escape character is '^]'.
49 220 host.domain.com ESMTP Postfix
50 EHLO localhost
51 250-host.domain.com
52 250-PIPELINING
53 250-SIZE 10240000
54 250-VRFY
55 250-ETRN
56 250-STARTTLS
57 250-AUTH LOGIN PLAIN
58 250-AUTH=LOGIN PLAIN
59 250-ENHANCEDSTATUSCODES
60 250-8BITMIME
61 250 DSN
62 AUTH PLAIN myencodedbase64string=
63 535 5.7.8 Error: authentication failed: authentication failure
64
65
66 saslauthd is like a black box now. How could I open it?
67
68 thx
69 Laurent