Package: smbclient Version: 3.0.14a-3 Severity: normal
When I try to list files in specific directory, smbclient goes into infinite loop. This is NOT the same as bug #309798: that bug related servers with VFAT filesystems, but in this case server has NTFS file system. [EMAIL PROTECTED] ~]$ smbclient -d 3 -c "cd bonus\CD2\BOOK\DDM\ddm; ls" //LIGHTHOUSE/Babylon5 -I 172.16.14.136 -N lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" added interface ip=172.16.16.100 bcast=172.16.19.255 nmask=255.255.252.0 added interface ip=172.16.36.100 bcast=172.16.39.255 nmask=255.255.252.0 Client started (version 3.0.14a-Debian). Connecting to 172.16.14.136 at port 445 Doing spnego session setup (blob length=16) server didn't supply a full spnego negprot Got challenge flags: Got NTLMSSP neg_flags=0x628a0215 NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60080215 Domain=[LIGHTHOUSE] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] dos_clean_name [] dos_clean_name [\bonus\CD2\BOOK\DDM\ddm\] dos_clean_name [\bonus\CD2\BOOK\DDM\ddm\\] received 18 entries (eos=0) received 17 entries (eos=0) received 17 entries (eos=0) received 17 entries (eos=0) received 17 entries (eos=0) received 17 entries (eos=0) received 17 entries (eos=0) received 17 entries (eos=0) .... and this repeats forever ... The server is WinXP+SP2, NTFS filesystem. It work fine with 3.0.12 (from samba.org tarball), but don't work with 3.0.13, 3.0.14. I've attached some logs generated with 10 debug level. I've also attached real directory listing (as obtained from smbclient 3.0.12) in file dirlist.txt -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11.9 Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages smbclient depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libcomerr2 1.37+1.38-WIP-0509-1 common error description library ii libkrb53 1.3.6-3 MIT Kerberos runtime libraries ii libldap2 2.1.30-8 OpenLDAP libraries ii libncurses5 5.4-4 Shared libraries for terminal hand ii libpopt0 1.7-5 lib for parsing cmdline parameters ii libreadline4 4.3-15 GNU readline and history libraries ii samba-common 3.0.14a-3 Samba common files used by both th -- no debconf information
[EMAIL PROTECTED] ~]$ /opt/samba-3.0.12/bin/smbclient -s /etc/samba/smb.conf -d 10 -l /home/alex -c "cd bonus\CD2\BOOK\DDM\ddm; ls" //LIGHTHOUSE/Babylon5 -I 172.16.14.136 -N INFO: Current debug levels: all: True/10 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 acls: False/0 . D 0 Mon Aug 16 23:08:59 2004 .. D 0 Mon Aug 16 23:08:59 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_4_1 - _Долгая борьба_.htm A 46050 Mon Aug 16 19:11:18 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_4_1 - _Долгая борьба__files D 0 Mon Aug 16 23:08:59 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_4_2 - _Долгая борьба_.htm A 56859 Mon Aug 16 19:11:24 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_4_2 - _Долгая борьба__files D 0 Mon Aug 16 23:08:59 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_4_3 - _Долгая борьба_.htm A 57618 Mon Aug 16 19:11:34 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_4_3 - _Долгая борьба__files D 0 Mon Aug 16 23:08:59 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_4_4 - _Долгая борьба_.htm A 44745 Mon Aug 16 19:11:42 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_4_4 - _Долгая борьба__files D 0 Mon Aug 16 23:08:59 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_5_1 - _Добрый старый _Вавилон__.htm A 33109 Mon Aug 16 19:11:48 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_5_1 - _Добрый старый _Вавилон___files D 0 Mon Aug 16 23:08:59 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_5_2 - _Добрый старый _Вавилон__.htm A 37002 Mon Aug 16 19:11:56 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_5_2 - _Добрый старый _Вавилон___files D 0 Mon Aug 16 23:08:59 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_5_3 - _Добрый старый _Вавилон__.htm A 27753 Mon Aug 16 19:12:10 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_5_3 - _Добрый старый _Вавилон___files D 0 Mon Aug 16 23:08:59 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_6_1 - _Размышления, удивление, ужас _ ради будущего_.htm A 35207 Mon Aug 16 19:12:18 2004 Г_Уильямс, _Темное, кривое зеркало_, 2_6_1 - _Размышления, удивление, ужас _ ради будущего__files D 0 Mon Aug 16 23:08:59 2004 47694 blocks of size 4194304. 361 blocks available [EMAIL PROTECTED] ~]$
log.smbclient.12.gz
Description: Binary data
log.smbclient.13.gz
Description: Binary data
log.smbclient.14a.gz
Description: Binary data