[Samba] missing directories

2013-02-14 Thread phil_nr
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.6Capability: 0x80f3fd
SMB session status: 1TCP 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] missing directories

2005-07-26 Thread Bill Measday
Running Samba 3.0.14a under kernal 2.6.11-1.1369 (Fedora core 4)

I'm trying to set up a file server for use with XP network.  I have an 
interesting problem that came to light when I had difficulty connecting
from 
Windows.

I can set up a shared directory exactly as detailed in the
troubleshooting 
guide (setting up /tmp as tmp) and can connect from my account on the 
server.

If I try to set up a share under /home I get 
NT_STATUS_NETWORK_ACCESS_DENIED.  Same if I try and set up a share to
a 
directory called /storage which is a mount point for a spare drive.  It 
isn't a typo in smb.conf, because copying the working /tmp text and
simply 
changing the target directory doesn't work either.

Interestingly (and here's where things get wierd), if I set / to be a 
samba share and connect from my account, listing the files in the drive 
omits /home and /storage.  If I create a new directory as root in / I
can 
successfully set it up in samba.

There seems to be no issue with permissions (I tried setting /storage
to 
777).  All directories are owned by root from group root.

I assume something trivial is the cause but am at a loss.

Rgds


Bill

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] missing directories

2005-07-24 Thread bill no

Running Samba 3.0.14a under kernal 2.6.11-1.1369 (Fedora core 4)

I'm trying to set up a file server for use with XP network.  I have an 
interesting problem that came to light when I had difficulty connecting from 
Windows.


I can set up a shared directory exactly as detailed in the troubleshooting 
guide (setting up /tmp as tmp) and can connect from my account on the 
server.


If I try to set up a share under /home I get 
NT_STATUS_NETWORK_ACCESS_DENIED.  Same if I try and set up a share to a 
directory called /storage which is a mount point for a spare drive.  It 
isn't a typo in smb.conf, because copying the working /tmp text and simply 
changing the target directory doesn't work either.


Interestingly (and here's where things get wierd), if I set / to be a 
samba share and connect from my account, listing the files in the drive 
omits /home and /storage.  If I create a new directory as root in / I can 
successfully set it up in samba.


There seems to be no issue with permissions (I tried setting /storage to 
777).  All directories are owned by root from group root.


I assume something trivial is the cause but am at a loss.

Rgds


Bill

_
Sell your car for $9 on carpoint.com.au   
http://www.carpoint.com.au/sellyourcar


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba