[Samba] smbclient hangs

Mair Wolfgang-awm013 wolfgang.mair at motorola.com
Mon May 30 15:09:15 GMT 2005


Hello,

I'm having problems with using smbclient on a win2k share. The server runs samba 3.0.14a on Solaris 9.

I want to tar the whole directory of a share. Into a file on the server

What I found out so far is, that it works until a maximum file count of 35. It is not size dependant but if the file count in that share exceeds more than 35 the smbclient hangs for ever and with the time is consuming up all the available memory. Until the server hangs as well due to a lack of memory space. 

Any ideas would be greatly appreciated.

Wolfgang

Here is an output with debugging:

volvo:root,511>smbclient '//vw/721-04' passw0rd -d 4 -U test -W WORKGROUP -Tc xxx.tar
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file 
"/usr/local/samba/lib/smb.conf"
Processing section "[global]"
doing parameter workgroup = DOMAIN
doing parameter netbios name = volvo
handle_netbios_name: set global_myname to: VOLVO
doing parameter server string = Samba %v Testdep.
doing parameter map to guest = Bad User
doing parameter guest account = nobody
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter debug level = 2
doing parameter max log size = 500
doing parameter name resolve order = wins hosts bcast
doing parameter deadtime = 5
doing parameter printcap name = /etc/printers.conf
doing parameter os level = 30
doing parameter local master = No
doing parameter wins server = 10.222.224.22
doing parameter config file = /usr/local/samba/lib/smb.conf.%m
doing parameter message command = csh -c 'cat %s > /dev/console;rm %s' &
doing parameter invalid users = root daemon bin sys adm lp uucp nuucp listen 
noaccess nobody4
doing parameter directory mask = 0775
doing parameter create mask = 0775
doing parameter sync always = Yes
doing parameter hide dot files = yes
doing parameter username map = /usr/local/samba/lib/usermap.txt
doing parameter security = domain
doing parameter encrypt passwords = yes
doing parameter password server = domain-contr
doing parameter printing = sysv
doing parameter print command = lp -c -d%p -s %s ; rm %s
doing parameter printer admin = woma
pm_process() returned Yes
added interface ip=10.222.164.20 bcast=10.222.164.255 nmask=255.255.255.0
Client started (version 3.0.14a).
resolve_wins: Attempting wins lookup for name vw<0x20>
wins_srv_is_dead: 10.222.224.22 is alive
wins_srv_is_dead: 10.222.224.22 is alive
resolve_wins: using WINS server 10.222.224.22 and tag '*'
nmb packet from 10.222.224.22(137) header: id=25018 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
    header: rcode=3 qdcount=0 ancount=0 nscount=0 arcount=0
Negative name query response, rcode 0x03: The name requested does not exist.
resolve_hosts: Attempting host lookup for name vw<0x20>
Connecting to 192.168.230.42 at port 445
error connecting to 192.168.230.42:445 (Connection refused)
Connecting to 192.168.230.42 at port 139
 session request ok
Serverzone is -7200
Domain=[WORKGROUP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
 session setup ok
 tconx ok
dos_clean_name []
received 37 entries (eos=0)
received 36 entries (eos=0)
received 36 entries (eos=0)
received 36 entries (eos=0)
received 36 entries (eos=0)
received 36 entries (eos=0)
received 36 entries (eos=0)
<hangs for ever>
--- Cntrl C ---


More information about the samba mailing list