[Dovecot] Error: doveadm client attempted non-PLAIN authentication
Hi
doveadm search -u user@example.org -S localhost:19000 all produces the following error in the logs: dovecot: doveadm: Error: doveadm client attempted non-PLAIN authentication
What am I missing?
- tcpdump of tcp communication on port 19000 is attached
- dovecot.conf is attached
Regards Daniel
On 10.6.2012, at 2.56, Daniel Parthey wrote:
doveadm search -u user@example.org -S localhost:19000 all produces the following error in the logs: dovecot: doveadm: Error: doveadm client attempted non-PLAIN authentication
What am I missing?
It's possible that this is just broken in v2.0. Try v2.1.
Timo Sirainen wrote:
On 10.6.2012, at 2.56, Daniel Parthey wrote:
doveadm search -u user@example.org -S localhost:19000 all produces the following error in the logs: dovecot: doveadm: Error: doveadm client attempted non-PLAIN authentication
What am I missing?
It's possible that this is just broken in v2.0. Try v2.1.
mail01: 2.0.20 mail02: 2.1.7 mail03: 2.0.20 mail04: 2.0.20
Director for user@example.org currently points to mail02.
Compiled and installed 2.1.7 on mail02 (Ubuntu Lucid), gettings segfaults on mail02 now.
Got a core dump and created a gdb backtrace:
mail02# doveadm -c /etc/dovecot-director/dovecot-director.conf search -u user@example.org all [...] 67b3b72453278b4f6a3d000051abeb58 447 67b3b72453278b4f6a3d000051abeb58 448 67b3b72453278b4f6a3d000051abeb58 449 67b3b72453278b4f6a3d000051abeb58 450 67b3b72453278b4f6a3d000051abeb58 451 67b3b72453278b4f6a3d000051abeb58 452 67b3b72453278b4f6a3d000051abeb58 453 67b3b72453278b4f6a3d000051abeb58 454 67b3b72453278b4f6a3d000051abeb58 455 67b3b72453278b4f6a3d000051abeb58 456 Segmentation fault (core dumped)
gdb /usr/bin/doveadm /root/core (gdb) bt full #0 0x00007f953cbb9e32 in vfprintf () from /lib/libc.so.6 No symbol table info available. #1 0x00007f953cc6eea1 in __printf_chk () from /lib/libc.so.6 No symbol table info available. #2 0x000000000041ed4e in ?? () No symbol table info available. #3 0x0000000000415667 in doveadm_print () No symbol table info available. #4 0x000000000041638d in ?? () No symbol table info available. #5 0x00007f953cf3f176 in io_loop_call_io () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #6 0x00007f953cf401ff in io_loop_handler_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #7 0x00007f953cf3f118 in io_loop_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #8 0x00007f953cf2b403 in master_service_run () from /usr/lib/dovecot/libdovecot.so.0 No symbol table info available. #9 0x0000000000414cae in ?? () No symbol table info available. #10 0x0000000000414dd2 in doveadm_mail_server_flush () No symbol table info available. #11 0x000000000041009a in ?? () No symbol table info available. #12 0x0000000000410501 in doveadm_mail_try_run () No symbol table info available. #13 0x0000000000417051 in main () No symbol table info available.
Can you help to fix these segfaults, please?
Regards Daniel
mail01: 2.0.20 mail02: 2.1.7 mail03: 2.0.20 mail04: 2.0.20
Director for user@example.org currently points to mail02.
Compiled and installed 2.1.7 on mail02 (Ubuntu Lucid), gettings segfaults on mail02 now.
Got a core dump and created a gdb backtrace:
mail02# doveadm -c /etc/dovecot-director/dovecot-director.conf search -u user@example.org all [...] 67b3b72453278b4f6a3d000051abeb58 447 67b3b72453278b4f6a3d000051abeb58 448 67b3b72453278b4f6a3d000051abeb58 449 67b3b72453278b4f6a3d000051abeb58 450 67b3b72453278b4f6a3d000051abeb58 451 67b3b72453278b4f6a3d000051abeb58 452 67b3b72453278b4f6a3d000051abeb58 453 67b3b72453278b4f6a3d000051abeb58 454 67b3b72453278b4f6a3d000051abeb58 455 67b3b72453278b4f6a3d000051abeb58 456 Segmentation fault (core dumped)
(gdb) bt full #0 0x00007ff6c763de32 in vfprintf () from /lib/libc.so.6 No symbol table info available. #1 0x00007ff6c76f2ea1 in __printf_chk () from /lib/libc.so.6 No symbol table info available. #2 0x000000000041ed4e in printf (value=0x64697567 ) at /usr/include/bits/stdio2.h:105 No locals. #3 doveadm_print_flow_print (value=0x64697567 ) at doveadm-print-flow.c:51 hdr = <value optimized out> #4 0x0000000000415667 in doveadm_print (value=0x1c28970 "67b3b72453278b4f6a3d000051abeb58") at doveadm-print.c:65 headers = 0x1c37120 #5 0x000000000041638d in server_flush_field (conn=0x1c4ab10) at server-connection.c:111 text = 0x0 #6 server_handle_input (conn=0x1c4ab10) at server-connection.c:150 str = 0x1c28938 i = <value optimized out> #7 server_connection_input (conn=0x1c4ab10) at server-connection.c:254 data = 0x1c4eae0 "b4f6a3d000051abeb58\t450\t67b3b72453278b4f6a3d000051abeb58\t451\t67b3b72453278b4f6a3d000051abeb58\t452\t67b3b72453278b4f6a3d000051abeb58\t453\t67b3b72453278b4f6a3d000051abeb58\t454\t67b3b72453278b4f6a3d000051ab"... size = 8192 line = <value optimized out> reply = <value optimized out> #8 0x00007ff6c79c3176 in io_loop_call_io (io=0x1c386d0) at ioloop.c:379 ioloop = 0x1c30820 t_id = 2 #9 0x00007ff6c79c41ff in io_loop_handler_run (ioloop=<value optimized out>) at ioloop-epoll.c:213 ctx = 0x1c35ff0 event = 0x1c36660 list = 0x1c30350 io = 0x64697567 tv = {tv_sec = 59, tv_usec = 945631} msecs = <value optimized out> ret = <value optimized out> i = 0 call = false #10 0x00007ff6c79c3118 in io_loop_run (ioloop=0x1c30820) at ioloop.c:398 No locals. #11 0x00007ff6c79af403 in master_service_run (service=0x1c306d0, callback=0xffffe906) at master-service.c:544 No locals. #12 0x0000000000414cae in doveadm_server_flush_one (server=0x1c46b00) at doveadm-mail-server.c:149 count = 0 #13 0x0000000000414dd2 in doveadm_mail_server_flush () at doveadm-mail-server.c:307 server = 0x1c46b00 #14 0x000000000041009a in doveadm_mail_cmd (cmd=0x1c35ca8, argc=4, argv=0x1c303a0) at doveadm-mail.c:529 ctx = 0x1c36cb0 getopt_args = 0x4336e6 "AS:u:" wildcard_user = 0x0 error = <value optimized out> ret = 0 c = <value optimized out> #15 0x0000000000410501 in doveadm_mail_try_run (cmd_name=0x1c303f0 "search", argc=1227192544, argv=0x437727) at doveadm-mail.c:577 cmd__foreach_end = 0x1c35e28 cmd = 0x1c35ca8 cmd_name_len = 0 __FUNCTION__ = "doveadm_mail_try_run" #16 0x0000000000417051 in main (argc=4, argv=0x1c30388) at doveadm.c:373 cmd_name = 0x1c303f0 "search" quick_init = false c = <value optimized out>
On Fri, 2012-06-15 at 22:11 +0200, Daniel Parthey wrote:
mail02# doveadm -c /etc/dovecot-director/dovecot-director.conf search -u user@example.org all .. #3 doveadm_print_flow_print (value=0x64697567
) at doveadm-print-flow.c:51 hdr = <value optimized out> #4 0x0000000000415667 in doveadm_print (value=0x1c28970 "67b3b72453278b4f6a3d000051abeb58") at doveadm-print.c:65 headers = 0x1c37120 #5 0x000000000041638d in server_flush_field (conn=0x1c4ab10) at server-connection.c:111 text = 0x0
Hmm. See if the attached patch fixes it?
Timo Sirainen wrote:
On Fri, 2012-06-15 at 22:11 +0200, Daniel Parthey wrote:
mail02# doveadm -c /etc/dovecot-director/dovecot-director.conf search -u user@example.org all .. #3 doveadm_print_flow_print (value=0x64697567
) at doveadm-print-flow.c:51 hdr = <value optimized out> #4 0x0000000000415667 in doveadm_print (value=0x1c28970 "67b3b72453278b4f6a3d000051abeb58") at doveadm-print.c:65 headers = 0x1c37120 #5 0x000000000041638d in server_flush_field (conn=0x1c4ab10) at server-connection.c:111 text = 0x0Hmm. See if the attached patch fixes it?
diff -r a28c8043842d src/doveadm/doveadm-print.c --- a/src/doveadm/doveadm-print.c Sat Jun 16 02:03:53 2012 +0300 +++ b/src/doveadm/doveadm-print.c Sat Jun 16 02:13:03 2012 +0300
The patch seems to fix the problem. Thanks.
Regards Daniel
participants (2)
-
Daniel Parthey
-
Timo Sirainen