FindFirst/Net not seen all directories from NAS storage using Samba Client
Original Reporter info from Mantis: phil_nr
-
Reporter name: phil_nr
Original Reporter info from Mantis: phil_nr
- Reporter name: phil_nr
Description:
hello, i'm french sorry for my bad english.
Archlinux - 3.7.3-1-ARCH #1 SMP PREEMPT Thu Jan 17
Lazarus 1.0.4
Free Pascal Compiler version 2.6.0 [2013/01/14]
smbclient Version 3.6.10
Nas Synology - CS407 : Server=[Samba 3.2.8]
Nas Synology - DS212+ :Server=[Samba 3.6.6]
I confirm this issue : http://bugs.freepascal.org/bug_view_advanced_page.php?bug_id=22423
I have 2 synology nas CS407 and DS212 and i have the same problem.
I create 50 directories and i make test with faArchive or faReadOnly the result is :
./program1.pas
[ 1] test_create_rep.sh
1 file(s) found.
but with faDirectory
./program1.pas
[ 1] .
[ 2] ..
[ 3] 9
[ 4] 40
[ 5] 1
[ 6] 24
[ 7] 27
[ 8] 7
[ 9] 44
[ 10] 49
[ 11] 38
[ 12] 23
[ 13] test_create_rep.sh
[ 14] 28
[ 15] 29
[ 16] 11
[ 17] 17
[ 18] 18
[ 19] 4
[ 20] 14
[ 21] 47
[ 22] 10
[ 23] 33
[ 24] 35
[ 25] 8
[ 26] 42
[ 27] 25
[ 28] 41
[ 29] 5
[ 30] 16
[ 31] 45
[ 32] 32
[ 33] 39
[ 34] 50
[ 35] 12
[ 36] 31
[ 37] 37
[ 38] 26
[ 39] 30
[ 40] 36
[ 41] 20
[ 42] 48
[ 43] 15
[ 44] 3
[ 45] 6
[ 46] 2
[ 47] 46
[ 48] 21
[ 49] 19
49 file(s) found.
he seems that it's always same file missing
I mount this partition with the following command
mount -t cifs //192.168.1.5/test /media/test -o credentials=/etc/smbpasswd
but if i use gvfs
gvfs-mount smb://192.168.1.5/test
it's ok, the result is : 53 file(s) found.
Mantis conversion info:
- Mantis ID: 23732