Hi,
    I'm sharing an NFS mounted directory via samba. When a client 
connect to the share, he can browse it fine, but any attempt to read 
data, like copying or looking that the file's properties results in a 
lockup on the client, and an eventual time out. On the server, a lock ( 
DENY_NONE  0x120089    RDONLY     NONE ) is created an never goes away, 
even after the client as disconnected.
- I can login the server and read data just fine from that NFS mount 
point, but samba can't.
- I can access other NFS mounted ( off another server ) via samba  just 
fine.
if I use smbclient as the CIFS client, the error is:
Error Call timed out: server did not respond after 20000 milliseconds 
closing remote file
Any help would be appreciated !
Samba server setup:
2.6.18-92.1.22.el5PAE
samba-client-3.0.33-3.7.el5
samba-3.0.33-3.7.el5
samba-common-3.0.33-3.7.el5
[global]
        username map = /etc/samba/smbusers
        passwd program = /usr/bin/passwd %u
        wins server = x.x.x.x
        pam password change = yes
        printing = lprng
        dns proxy = no
        encrypt passwords = yes
        time server = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        password server = *
        obey pam restrictions = yes
        security = domain
        server string = abc
        workgroup = abc.abc
        log file = /var/log/samba/%m.log
        netbios name = FOO
        load printers = yes
        netbios aliases = BAR
-- 
Daniel Bourque
Sr. Systems Engineer
WeatherData Service Inc
An Accuweather Company
On Wed, May 27, 2009 at 10:38:00AM -0500, Daniel Bourque wrote:> I'm sharing an NFS mounted directory via samba. When a client > connect to the share, he can browse it fine, but any attempt to read > data, like copying or looking that the file's properties results in a > lockup on the client, and an eventual time out. On the server, a lock ( > DENY_NONE 0x120089 RDONLY NONE ) is created an never goes away, > even after the client as disconnected.Please don't re-export NFS imports via Samba. This is not really supported exactly due to the problems you mention. If you absolutely must do this because for example your NetApp NFS server does not have CIFS enabled, you might want to try setting "posix locking = no" in your smb.conf. This works around bugs in your NFS client and means cross-protocol locking is not done. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20090528/b234ccb6/attachment.bin