cyrus-imapd 2.2.1 beta - auth problem

Simon Matter simon.matter at ch.sauter-bc.com
Thu Jul 24 19:28:39 EDT 2003


>>
>>
>>
>> This error is coming from SASL.  Could you please post the relevent
>> contents of imapd.log and auth.log?
>
> Ken,
>
> I have now straced the pid's on 2.1.14 and 2.2.1-BETA. I have also tested
> the 2.2.1-BETA with pwcheck using /etc/sasldb2 and it works well. Looks to
> me like there is something broken when using saslauthd. FYI, the
> 2.2.1-BETA test is against cyrus-sasl 2.1.10.

Hmm, I just tested against cyrus-sasl 2.1.15 and it works. Reinstalled
2.1.10 and it didn't work again.

Is 2.2.1-BETA supposed not to work with cyrus-sasl 2.1.10?

>
> Simon
>
> Cyrus IMAPd 2.1.14, works fine
>
> [root at crash root]# strace -p 1282
> select(1, [0], NULL, NULL, {1744, 790000}) = 1 (in [0], left {1742,
> 110000})
> time(NULL)                              = 1059085475
> read(0, "2 LOGIN cyrus cyrus\r\n", 4096) = 21
> brk(0x8132000)                          = 0x8132000
> socket(PF_UNIX, SOCK_STREAM, 0)         = 9
> connect(9, {sin_family=AF_UNIX, path="/var/run/saslauthd/mux"}, 110) = 0
> writev(9, [{"\0\5cyrus\0\5cyrus\0\4imap\0\0", 22}], 1) = 22
> read(9, "\0\2", 2)                      = 2
> read(9, "OK", 2)                        = 2
> close(9)                                = 0
> brk(0x8135000)                          = 0x8135000
> time([1059085475])                      = 1059085475
> getpid()                                = 1282
> rt_sigaction(SIGPIPE, {0x402df9e0, [], 0x4000000}, {SIG_IGN}, 8) = 0
> send(8, "<181>Jul 25 00:24:35 imapd[1282]"..., 96, 0) = 96
> rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> socket(PF_UNIX, SOCK_STREAM, 0)         = 9
>
>
> Cyrus IMAPd 2.2.1-BETA, doesn't work
>
> [root at black etc]# strace -p 5072
> select(1, [0], NULL, NULL, {1793, 90000}) = 1 (in [0], left {1790,
> 240000})
> time(NULL)                              = 1059085318
> read(0, "2 LOGIN cyrus cyrus\r\n", 4096) = 21
> socket(PF_UNIX, SOCK_STREAM, 0)         = 10
> connect(10, {sa_family=AF_UNIX, path="/var/run/saslauthd/mux"}, 110) = 0
> writev(10, [{"\0\5cyrus\0\5cyrus\0\4imap\0\0", 22}], 1) = 22
> read(10, "\0\2", 2)                     = 2
> read(10, "OK", 2)                       = 2
> close(10)                               = 0
> select(1, [0], NULL, NULL, {0, 0})      =  (Timeout)
> write(1, "2 NO Login failed: can\'t request"..., 63) = 63
> time(NULL)                              = 1059085318
> select(1, [0], NULL, NULL, {1800, 0})   = 1 (in [0], left {1800, 0})
> time(NULL)                              = 1059085318
> read(0, "", 4096)                       = 0
> close(9)                                = 0
> munmap(0x40022000, 4096)                = 0
> unlink("/var/lib/imap/proc/5072")       = 0
>
>
>>
>> --
>> Kenneth Murchison     Oceana Matrix Ltd.
>> Software Engineer     21 Princeton Place
>> 716-662-8973 x26      Orchard Park, NY 14127
>> --PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
>>
>>
>
>






More information about the Info-cyrus mailing list