When parsing a listing of files and directories on a remote share (smb/ntfs5) on windows xp pro I recieve inconsistant results (counts). The share contains only 'normal' files no sim-links (shortcuts) or the like. here is the procedure I use to produce the error. smbclient -V Version 3.0.2-7.FC1 mount -o username=user,password=pass,ro //desktop/mp3 /data/mp3/ cd /data/mp3 ls -aR | grep -c . 26702 ls -aR | grep -c . 26554 ls -aR | grep -c . 26702 ls -aR | grep -c . 26455 ls -aR | grep -c . 26455 ls -aR | grep -c . 26702 I realise that this is counting . and .. but that is irrelevant.. the count should be the same every time. This may not be a samba problem at all, but it's worth looking into. Thanks and keep up the good work, Brian
actually this is an smbfs issue. We don't maintain that kernel module. You might however want to try the cifs fs module for the 2.6 kernel. http://us1.samba.org/samba/Linux_CIFS_client.html