[root@workst1 home]# smbclient -E -d 0 -A /root/cred //workst1/print\$ -t drivers.tar -c 'tarmode full' -Tx Segmentation fault (core dumped) Backtrace: #0 0x08065ae7 in tar_parseargs (argc=12, argv=0xbffffaf4, Optarg=0x8100c70 "x", Optind=12) at client/clitar.c:1778 1778 if (!strcmp(argv[Optind], "-")) { (gdb) where #0 0x08065ae7 in tar_parseargs (argc=12, argv=0xbffffaf4, Optarg=0x8100c70 "x", Optind=12) at client/clitar.c:1778 #1 0x08061142 in main (argc=12, argv=0xbffffaf4) at client/client.c:2869 #2 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
Moving the tarfile to the end of the command line appears to fix the problem.
Jeremy, Can you take a look at these when you get a chance? Thanks.
According to the manual page the -t option sets up smbclient for some possibly broken character conversion code. Yuck - the smbclient tar code is just awful. )-: I've checked in a fix to not crash when you don't specify a tarfile argument to -T.
Add me as cc
originally reported against one of the 3.0.0rc[1-4] releases. Cleaning up non-production versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup