Hey All, I have been working on a set of scripts that scan a local network and catalog the open shares and the files in them. I have gotten a good distance into this project but have come across a snag. When I mount a share using smbmount I don't always see all the files. Here is how I mount my roommates computer--- smbmount //DEATHSTAR/share /home/user/mnt/DEATHSTAR/share/ -o username=me%,fmask=644,dmask=755,uid=501,gid=501,ip=192.168.84.50,debug=0,workgroup=WORKGROUP This works and I can see files, but I can only see 4000 or so out of 8000+ The client is running Mandrake8.1 with samba 2.2.2 and the server is Windows2000 Pro. Any help with this would be appreciated. Mikey
On 4 Feb 2002, Michael L. Gauley wrote:> This works and I can see files, but I can only see 4000 or so out of > 8000+ > The client is running Mandrake8.1 with samba 2.2.2 and the server is > Windows2000 Pro.kernel version? Any error messages from the kernel? (dmesg, any smb_ related output) Any pattern to which filenames are missing? A network trace of the traffic generated by your ls command could perhaps say if this is an error caused by a communication breakdown. Or it could show that the server is returning all the entries and that this is an internal smbfs error. Ethereal is very nice for looking at SMB traffic, ethereal.com, you want version 0.9.0 or later. It presents the packets in a way that does not require intimate knowledge on SMB to understand. I have received a few similar reports before, but I have nothing that indicates what is happening. It's not as simple as smbfs being unable to list dirs larger than 4000 entries. /Urban