Package: smbclient Version: 2:3.6.6-3 Severity: normal Dear Maintainer,
I did find a possible bug in the smbclient. I cannot connect with the actual smbclient to a Terastation (Samba Version: Samba 2.2.8a-ja-1.1). It works with an older smbclient (3.0.33-3.29.el5_5.1). The actual client doesn't (Version 3.6.6). I did rotate almost all smb.conf option of the new one. It works with mount.cifs, too. Greetings Johannes Attachments: older and newer smbclient debug 10 outtput. Output - working with older smbclient version: *********************************************************************************************************** $ smbclient -d 10 //minibernd2.someurl.de/service_svn -U backup 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 locking: False/0 msdfs: False/0 dmapi: False/0 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" doing parameter workgroup = MYGROUP doing parameter server string = Samba Server Version %v doing parameter security = user doing parameter passdb backend = tdbsam doing parameter load printers = yes doing parameter cups options = raw pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: role = ROLE_STANDALONE Attempting to register new charset UCS-2LE Registered charset UCS-2LE Attempting to register new charset UTF-16LE Registered charset UTF-16LE Attempting to register new charset UCS-2BE Registered charset UCS-2BE Attempting to register new charset UTF-16BE Registered charset UTF-16BE Attempting to register new charset UTF8 Registered charset UTF8 Attempting to register new charset UTF-8 Registered charset UTF-8 Attempting to register new charset ASCII Registered charset ASCII Attempting to register new charset 646 Registered charset 646 Attempting to register new charset ISO-8859-1 Registered charset ISO-8859-1 Attempting to register new charset UCS2-HEX Registered charset UCS2-HEX Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE Substituting charset 'UTF-8' for LOCALE added interface ip=192.168.0.193 bcast=192.168.0.255 nmask=255.255.255.0 Netbios name list:- my_netbios_names[0]="HENRY" Client started (version 3.0.33-3.29.el5_5.1). Opening cache file at /var/cache/samba/gencache.tdb tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Keine Berechtigung tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Datei oder Verzeichnis nicht gefunden Attempt to open gencache.tdb has failed. internal_resolve_name: looking up minibernd2.someurl.de#20 (sitename (null)) Opening cache file at /var/cache/samba/gencache.tdb tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Keine Berechtigung tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Datei oder Verzeichnis nicht gefunden Attempt to open gencache.tdb has failed. resolve_lmhosts: Attempting lmhosts lookup for name minibernd2.someurl.de<0x20> getlmhostsent: lmhost entry: 127.0.0.1 localhost resolve_wins: Attempting wins lookup for name minibernd2.someurl.de<0x20> resolve_wins: WINS server resolution selected and no WINS servers listed. resolve_hosts: Attempting host lookup for name minibernd2.someurl.de<0x20> remove_duplicate_addrs2: looking for duplicate address/port pairs Opening cache file at /var/cache/samba/gencache.tdb tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Keine Berechtigung tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Datei oder Verzeichnis nicht gefunden Attempt to open gencache.tdb has failed. internal_resolve_name: returning 1 addresses: 192.168.0.248:0 Connecting to 192.168.0.248 at port 445 error connecting to 192.168.0.248:445 (Verbindungsaufbau abgelehnt) Connecting to 192.168.0.248 at port 139 socket option SO_KEEPALIVE = 0 socket option SO_REUSEADDR = 0 socket option SO_BROADCAST = 0 socket option TCP_NODELAY = 1 socket option TCP_KEEPCNT = 9 socket option TCP_KEEPIDLE = 7200 socket option TCP_KEEPINTVL = 75 socket option IPTOS_LOWDELAY = 0 socket option IPTOS_THROUGHPUT = 0 socket option SO_SNDBUF = 16384 socket option SO_RCVBUF = 87380 socket option SO_SNDLOWAT = 1 socket option SO_RCVLOWAT = 1 socket option SO_SNDTIMEO = 0 socket option SO_RCVTIMEO = 0 write_socket(4,72) write_socket(4,72) wrote 72 Sent session request got smb length of 0 size=0 smb_com=0x0 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=0 smb_flg2=0 smb_tid=0 smb_pid=0 smb_uid=0 smb_mid=0 smt_wct=0 smb_bcc=0 session request ok write_socket(4,194) write_socket(4,194) wrote 194 got smb length of 82 size=82 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=11050 smb_uid=0 smb_mid=2 smt_wct=17 smb_vwv[ 0]= 8 (0x8) smb_vwv[ 1]=12803 (0x3203) smb_vwv[ 2]= 256 (0x100) smb_vwv[ 3]= 1024 (0x400) smb_vwv[ 4]= 65 (0x41) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 256 (0x100) smb_vwv[ 7]=23808 (0x5D00) smb_vwv[ 8]= 55 (0x37) smb_vwv[ 9]=63744 (0xF900) smb_vwv[10]= 227 (0xE3) smb_vwv[11]=32768 (0x8000) smb_vwv[12]=23638 (0x5C56) smb_vwv[13]=42439 (0xA5C7) smb_vwv[14]=52684 (0xCDCC) smb_vwv[15]=50177 (0xC401) smb_vwv[16]= 2303 (0x8FF) smb_bcc=13 [000] A3 BF ... 00 ........ someurl. size=82 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=11050 smb_uid=0 smb_mid=2 smt_wct=17 smb_vwv[ 0]= 8 (0x8) smb_vwv[ 1]=12803 (0x3203) smb_vwv[ 2]= 256 (0x100) smb_vwv[ 3]= 1024 (0x400) smb_vwv[ 4]= 65 (0x41) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 256 (0x100) smb_vwv[ 7]=23808 (0x5D00) smb_vwv[ 8]= 55 (0x37) smb_vwv[ 9]=63744 (0xF900) smb_vwv[10]= 227 (0xE3) smb_vwv[11]=32768 (0x8000) smb_vwv[12]=23638 (0x5C56) smb_vwv[13]=42439 (0xA5C7) smb_vwv[14]=52684 (0xCDCC) smb_vwv[15]=50177 (0xC401) smb_vwv[16]= 2303 (0x8FF) smb_bcc=13 [000] A3 BF ... 00 ........ someurl. write_socket(4,139) write_socket(4,139) wrote 139 got smb length of 71 size=71 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=11050 smb_uid=100 smb_mid=3 smt_wct=3 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 0 (0x0) smb_bcc=30 [000] 55 6E 69 78 00 53 61 6D 62 61 20 32 2E 32 2E 38 Unix.Sam ba 2.2.8 [010] 61 2D 6A 61 2 ... 00 a-ja-1.1 .someurl. Domain=[someurl] OS=[Unix] Server=[Samba 2.2.8a-ja-1.1] session setup ok write_socket(4,87) write_socket(4,87) wrote 87 got smb length of 49 size=49 smb_com=0x75 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=11050 smb_uid=100 smb_mid=4 smt_wct=3 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 1 (0x1) smb_bcc=8 [000] 41 3A 00 4E 54 46 53 00 A:.NTFS. tconx ok dos_clean_name [] unix_clean_name [] smb: \> quit write_socket(4,39) write_socket(4,39) wrote 39 got smb length of 35 size=35 smb_com=0x71 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=11050 smb_uid=100 smb_mid=5 smt_wct=0 smb_bcc=0 Output - NOT working with actual smbclient version: *********************************************************************************************************** backup@chronos:~/smbclient/samba-3.6.6/source4/client$ smbclient -d 10 //minibernd2.someurl.de/service_svn -U backup INFO: Current debug levels: all: 10 tdb: 10 printdrivers: 10 lanman: 10 smb: 10 rpc_parse: 10 rpc_srv: 10 rpc_cli: 10 passdb: 10 sam: 10 auth: 10 winbind: 10 vfs: 10 idmap: 10 quota: 10 acls: 10 locking: 10 msdfs: 10 dmapi: 10 registry: 10 lp_load_ex: refreshing parameters Initialising global parameters rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) INFO: Current debug levels: all: 10 tdb: 10 printdrivers: 10 lanman: 10 smb: 10 rpc_parse: 10 rpc_srv: 10 rpc_cli: 10 passdb: 10 sam: 10 auth: 10 winbind: 10 vfs: 10 idmap: 10 quota: 10 acls: 10 locking: 10 msdfs: 10 dmapi: 10 registry: 10 params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" doing parameter workgroup = someurl doing parameter server string = %h server doing parameter dns proxy = yes doing parameter log file = /var/log/samba/log.%m doing parameter max log size = 1000 doing parameter syslog = 0 doing parameter panic action = /usr/share/samba/panic-action %d doing parameter security = user doing parameter encrypt passwords = false doing parameter passdb backend = tdbsam doing parameter obey pam restrictions = yes doing parameter unix password sync = yes doing parameter passwd program = /usr/bin/passwd %u doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . doing parameter pam password change = yes doing parameter map to guest = bad user doing parameter client lanman auth = yes doing parameter client ntlmv2 auth = yes doing parameter client plaintext auth = yes doing parameter usershare allow guests = yes pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: role = ROLE_STANDALONE Substituting charset 'UTF-8' for LOCALE added interface eth0 ip=fe80::3285:a9ff:fe99:ca0a%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=192.168.0.86 bcast=192.168.0.255 netmask=255.255.255.0 Netbios name list:- my_netbios_names[0]="CHRONOS" Client started (version 3.6.6). Enter backup's password: Opening cache file at /var/run/samba/gencache.tdb tdb(/var/run/samba/gencache.tdb): tdb_open_ex: could not open file /var/run/samba/gencache.tdb: Permission denied gencache_init: Opening cache file /var/run/samba/gencache.tdb read-only. Opening cache file at /var/run/samba/gencache_notrans.tdb sitename_fetch: No stored sitename for internal_resolve_name: looking up minibernd2.someurl.de#20 (sitename (null)) no entry for minibernd2.someurl.de#20 found. resolve_lmhosts: Attempting lmhosts lookup for name minibernd2.someurl.de<0x20> resolve_lmhosts: Attempting lmhosts lookup for name minibernd2.someurl.de<0x20> startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory resolve_wins: Attempting wins lookup for name minibernd2.someurl.de<0x20> resolve_wins: WINS server resolution selected and no WINS servers listed. resolve_hosts: Attempting host lookup for name minibernd2.someurl.de<0x20> remove_duplicate_addrs2: looking for duplicate address/port pairs namecache_store: storing 1 address for minibernd2.someurl.de#20: 192.168.0.248 Adding cache entry with key = NBT/MINIBERND2.someurl.DE#20 and timeout = Tue Nov 27 14:04:54 2012 (660 seconds ahead) internal_resolve_name: returning 1 addresses: 192.168.0.248:0 Running timed event "tevent_req_timedout" 0x7f1e490267a0 Connecting to 192.168.0.248 at port 445 Running timed event "tevent_req_timedout" 0x7f1e49026c90 Connecting to 192.168.0.248 at port 139 Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 1 TCP_KEEPCNT = 9 TCP_KEEPIDLE = 7200 TCP_KEEPINTVL = 75 IPTOS_LOWDELAY = 0 IPTOS_THROUGHPUT = 0 SO_SNDBUF = 24040 SO_RCVBUF = 87380 SO_SNDLOWAT = 1 SO_RCVLOWAT = 1 SO_SNDTIMEO = 0 SO_RCVTIMEO = 0 TCP_QUICKACK = 1 Substituting charset 'UTF-8' for LOCALE write_socket(5,72) write_socket(5,72) wrote 72 Sent session request got smb length of 0 size=0 smb_com=0x0 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=0 smb_flg2=0 smb_tid=0 smb_pid=0 smb_uid=0 smb_mid=0 smt_wct=0 smb_bcc=0 session request ok cli_session_setup: NT1 session setup failed: NT_STATUS_LOGON_FAILURE lang_tdb_init: /usr/share/samba/en_US:en.msg: No such file or directory session setup failed: NT_STATUS_LOGON_FAILURE *** End of the template - remove these lines *** -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.3.0-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages smbclient depends on: ii dpkg 1.16.9 ii libc6 2.13-37 ii libcap2 1:2.22-1.2 ii libcomerr2 1.42.5-1 ii libgssapi-krb5-2 1.10.1+dfsg-3 ii libk5crypto3 1.10.1+dfsg-3 ii libkrb5-3 1.10.1+dfsg-3 ii libldap-2.4-2 2.4.31-1 ii libpopt0 1.16-7 ii libreadline6 6.2-9 ii libtalloc2 2.0.7+git20120207-1 ii libtdb1 1.2.10-2 ii libtinfo5 5.9-10 ii libwbclient0 2:3.6.6-3 ii samba-common 2:3.6.6-3 ii zlib1g 1:1.2.7.dfsg-13 smbclient recommends no packages. Versions of packages smbclient suggests: ii cifs-utils 2:5.5-1 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org