[Samba] missing directories

phil_nr zlurps at gmail.com
Thu Feb 14 04:27:38 MST 2013


Sorry for my poor english

I have a problem with my shares

mounting
mount -t cifs //192.168.1.5/test /media/test -o credentials=/etc/smbpasswd
in test directory I create 50 directories

'ls' gives me the right number directory

but
Example (http://www.kernel.org/doc/man-pages/online/pages/man2/getdents.2.html)
C program to display the contents of the directory
it does not return all directories

(I have same problem with lazarus and fpc)

someone he already had this problem? 


client:
OS: Archlinux 32 bit

uname -a
Linux asus 3.7.5-1-ARCH #1 SMP PREEMPT Mon Jan 28 10:38:12 CET 2013 i686
GNU/Linux

cat DebugData 
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 2.0
Features: dfs fscache lanman posix spnego xattr acl
Active VFS Requests: 0
Servers:
1) Name: 192.168.1.5  Domain: MAISON Uses: 6 OS: Unix
    NOS: Samba 3.6.6    Capability: 0x80f3fd
    SMB session status: 1    TCP status: 1
    Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0
    Shares:
    1) \\ds212\test2 Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x50027
PathComponentMax: 255 Status: 0x1 type: DISK 

    2) \\ds212\test1 Mounts: 1 Type: NTFS DevInfo: 0x20 Attributes: 0x50027
PathComponentMax: 255 Status: 0x1 type: DISK 
...
Server :
NAS Synology DS212+

uname -a
Linux ds212 2.6.32.12 #2668 Tue Dec 11 12:36:30 CST 2012 armv5tel GNU/Linux
synology_88f6282_212+

Samba 3.6.6



More information about the samba mailing list