cyradm: "No connection to server"
Alain Spineux
aspineux at gmail.com
Fri Nov 23 23:05:23 CET 2007
On Nov 23, 2007 9:51 PM, Johannes Graumann <johannes_graumann at web.de> wrote:
> On Friday 23 November 2007 21:35:26 you wrote:
>
> First: thanks for your continued patience with the noob ...
>
> > Then look a the "source"
> >
> > tcpdump -l -s 65535 -x -n -i lo port 143
ops this was -X and not -x for ASCII dump
>
> Nothing while running the "cyradm" command
This is not normal.
>
> > And also you can try
> >
> > # imtest -a manager -w password -v localhost
> >
> > and if you are authenticated
> > type the command (dont forget the 1, meaning first command)
> >
> > 1 LIST "" "*"
> >
> > and
> >
> > 999 logout
> >
> > to quit
> Hmmm ... the output of this is:
> imtest -a manager -w <PASSWORD> -v localhost
> WARNING: no hostname supplied, assuming localhost
>
> S: * OK morannon.homelinux.org Cyrus IMAP4 v2.2.12 server ready
> C: C01 CAPABILITY
> S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE
> UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE STARTTLS
> S: C01 OK Completed
> C: L01 LOGIN manager {6}
> S: + go ahead
> C: <omitted>
> S: L01 NO Login failed: authentication failure
> Authentication failed. generic failure
> Security strength factor: 0
The error message is clear.
Can you login as manager on the web kolab admin interface ?
Witch version ? 2.0 or 2.1 ?
>
> In parrallel I see this tcpdump:
Yes but more useless for imtest and without -X
> listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
> 21:50:21.566403 IP 127.0.0.1.48259 > 127.0.0.1.143: S 1418047733:1418047733(0)
> win 32792 <mss 16396,sackOK,timestamp 12573360 0,nop,wscale 4>
> 0x0000: 4500 003c 6a45 4000 4006 d274 7f00 0001
> 0x0010: 7f00 0001 bc83 008f 5485 b0f5 0000 0000
> 0x0020: a002 8018 f192 0000 0204 400c 0402 080a
> 0x0030: 00bf dab0 0000 0000 0103 0304
> 21:50:21.566507 IP 127.0.0.1.143 > 127.0.0.1.48259: S 1425849728:1425849728(0)
> ack 1418047734 win 32768 <mss 16396,sackOK,timestamp 12573360
> 12573360,nop,wscale 4>
> 0x0000: 4500 003c 0000 4000 4006 3cba 7f00 0001
> 0x0010: 7f00 0001 008f bc83 54fc bd80 5485 b0f6
> 0x0020: a012 8000 03ad 0000 0204 400c 0402 080a
> 0x0030: 00bf dab0 00bf dab0 0103 0304
> 21:50:21.566586 IP 127.0.0.1.48259 > 127.0.0.1.143: . ack 1 win 2050
> <nop,nop,timestamp 12573360 12573360>
> 0x0000: 4500 0034 6a46 4000 4006 d27b 7f00 0001
> 0x0010: 7f00 0001 bc83 008f 5485 b0f6 54fc bd81
> 0x0020: 8010 0802 e4cc 0000 0101 080a 00bf dab0
> 0x0030: 00bf dab0
> 21:50:21.570653 IP 127.0.0.1.143 > 127.0.0.1.48259: P 1:63(62) ack 1 win 2048
> <nop,nop,timestamp 12573361 12573360>
> 0x0000: 4500 0072 6731 4000 4006 d552 7f00 0001
> 0x0010: 7f00 0001 008f bc83 54fc bd81 5485 b0f6
> 0x0020: 8018 0800 fe66 0000 0101 080a 00bf dab1
> 0x0030: 00bf dab0 2a20 4f4b 206d 6f72 616e 6e6f
> 0x0040: 6e2e 686f 6d65 6c69 6e75 782e 6f72 6720
> 0x0050: 4379 7275 7320 494d 4150 3420 7632 2e32
> 0x0060: 2e31 3220 7365 7276 6572 2072 6561 6479
> 0x0070: 0d0a
> 21:50:21.571582 IP 127.0.0.1.48259 > 127.0.0.1.143: . ack 63 win 2050
> <nop,nop,timestamp 12573361 12573361>
> 0x0000: 4500 0034 6a47 4000 4006 d27a 7f00 0001
> 0x0010: 7f00 0001 bc83 008f 5485 b0f6 54fc bdbf
> 0x0020: 8010 0802 e48c 0000 0101 080a 00bf dab1
> 0x0030: 00bf dab1
> 21:50:21.572855 IP 127.0.0.1.48259 > 127.0.0.1.143: P 1:17(16) ack 63 win 2050
> <nop,nop,timestamp 12573362 12573361>
> 0x0000: 4500 0044 6a48 4000 4006 d269 7f00 0001
> 0x0010: 7f00 0001 bc83 008f 5485 b0f6 54fc bdbf
> 0x0020: 8018 0802 fe38 0000 0101 080a 00bf dab2
> 0x0030: 00bf dab1 4330 3120 4341 5041 4249 4c49
> 0x0040: 5459 0d0a
> 21:50:21.572901 IP 127.0.0.1.143 > 127.0.0.1.48259: . ack 17 win 2048
> <nop,nop,timestamp 12573362 12573362>
> 0x0000: 4500 0034 6732 4000 4006 d58f 7f00 0001
> 0x0010: 7f00 0001 008f bc83 54fc bdbf 5485 b106
> 0x0020: 8010 0800 e47c 0000 0101 080a 00bf dab2
> 0x0030: 00bf dab2
> 21:50:21.573926 IP 127.0.0.1.143 > 127.0.0.1.48259: P 63:295(232) ack 17 win
> 2048 <nop,nop,timestamp 12573362 12573362>
> 0x0000: 4500 011c 6733 4000 4006 d4a6 7f00 0001
> 0x0010: 7f00 0001 008f bc83 54fc bdbf 5485 b106
> 0x0020: 8018 0800 ff10 0000 0101 080a 00bf dab2
> 0x0030: 00bf dab2 2a20 4341 5041 4249 4c49 5459
> 0x0040: 2049 4d41 5034 2049 4d41 5034 7265 7631
> 0x0050: 2041 434c 2051 554f 5441 204c 4954 4552
> 0x0060: 414c 2b20 4d41 494c 424f 582d 5245 4645
> 0x0070: 5252 414c 5320 4e41 4d45 5350 4143 4520
> 0x0080: 5549 4450 4c55 5320 4944 204e 4f5f 4154
> 0x0090: 4f4d 4943 5f52 454e 414d 4520 554e 5345
> 0x00a0: 4c45 4354 2043 4849 4c44 5245 4e20 4d55
> 0x00b0: 4c54 4941 5050 454e 4420 4249 4e41 5259
> 0x00c0: 2053 4f52 5420 5448 5245 4144 3d4f 5244
> 0x00d0: 4552 4544 5355 424a 4543 5420 5448 5245
> 0x00e0: 4144 3d52 4546 4552 454e 4345 5320 414e
> 0x00f0: 4e4f 5441 5445 4d4f 5245 2049 444c 4520
> 0x0100: 5354 4152 5454 4c53 0d0a 4330 3120 4f4b
> 0x0110: 2043 6f6d 706c 6574 6564 0d0a
> 21:50:21.575987 IP 127.0.0.1.48259 > 127.0.0.1.143: P 17:40(23) ack 295 win
> 2117 <nop,nop,timestamp 12573362 12573362>
> 0x0000: 4500 004b 6a49 4000 4006 d261 7f00 0001
> 0x0010: 7f00 0001 bc83 008f 5485 b106 54fc bea7
> 0x0020: 8018 0845 fe3f 0000 0101 080a 00bf dab2
> 0x0030: 00bf dab2 4c30 3120 4c4f 4749 4e20 6d61
> 0x0040: 6e61 6765 7220 7b36 7d0d 0a
> 21:50:21.579929 IP 127.0.0.1.143 > 127.0.0.1.48259: P 295:307(12) ack 40 win
> 2048 <nop,nop,timestamp 12573363 12573362>
> 0x0000: 4500 0040 6734 4000 4006 d581 7f00 0001
> 0x0010: 7f00 0001 008f bc83 54fc bea7 5485 b11d
> 0x0020: 8018 0800 fe34 0000 0101 080a 00bf dab3
> 0x0030: 00bf dab2 2b20 676f 2061 6865 6164 0d0a
> 21:50:21.581826 IP 127.0.0.1.48259 > 127.0.0.1.143: P 40:48(8) ack 307 win
> 2117 <nop,nop,timestamp 12573364 12573363>
> 0x0000: 4500 003c 6a4a 4000 4006 d26f 7f00 0001
> 0x0010: 7f00 0001 bc83 008f 5485 b11d 54fc beb3
> 0x0020: 8018 0845 fe30 0000 0101 080a 00bf dab4
> 0x0030: 00bf dab3 746f 664a 6967 0d0a
> 21:50:21.620266 IP 127.0.0.1.143 > 127.0.0.1.48259: . ack 48 win 2048
> <nop,nop,timestamp 12573374 12573364>
> 0x0000: 4500 0034 6735 4000 4006 d58c 7f00 0001
> 0x0010: 7f00 0001 008f bc83 54fc beb3 5485 b125
> 0x0020: 8010 0800 e35b 0000 0101 080a 00bf dabe
> 0x0030: 00bf dab4
> 21:50:24.593051 IP 127.0.0.1.143 > 127.0.0.1.48259: P 307:352(45) ack 48 win
> 2048 <nop,nop,timestamp 12574117 12573364>
> 0x0000: 4500 0061 6736 4000 4006 d55e 7f00 0001
> 0x0010: 7f00 0001 008f bc83 54fc beb3 5485 b125
> 0x0020: 8018 0800 fe55 0000 0101 080a 00bf dda5
> 0x0030: 00bf dab4 4c30 3120 4e4f 204c 6f67 696e
> 0x0040: 2066 6169 6c65 643a 2061 7574 6865 6e74
> 0x0050: 6963 6174 696f 6e20 6661 696c 7572 650d
> 0x0060: 0a
> 21:50:24.632231 IP 127.0.0.1.48259 > 127.0.0.1.143: . ack 352 win 2117
> <nop,nop,timestamp 12574127 12574117>
> 0x0000: 4500 0034 6a4b 4000 4006 d276 7f00 0001
> 0x0010: 7f00 0001 bc83 008f 5485 b125 54fc bee0
> 0x0020: 8010 0845 dd07 0000 0101 080a 00bf ddaf
> 0x0030: 00bf dda5
>
--
Alain Spineux
aspineux gmail com
May the sources be with you
More information about the users
mailing list