I ran into this problem and was unable to find a solution here or in google. Thought I'd post it to the list so maybe it'll help someone out in the future.

Gentoo Linux running 2.4.22 and Samba 2.2.8a. ReExporting an NFS mounted share on a NetAPP fileserver connected to eth1 via samba out eth0. All PCs are able to write fine but when writing to the share via a mac using OSX the MAC errored out with permission denied and the samba logs showed the following

[2004/02/09 16:48:01, 0] locking/posix.c:posix_fcntl_lock(657) posix_fcntl_lock: WARNING: lock request at offset 0, length 4294967295 returned
[2004/02/09 16:48:01, 0] locking/posix.c:posix_fcntl_lock(658) an No locks available error. This can happen when using 64 bit lock offsets
[2004/02/09 16:48:01, 0] locking/posix.c:posix_fcntl_lock(659) on 32 bit NFS mounted file systems.


The solution I was able to come up with was to add "posix locking = no" to the share in question. If there is a better solution that I missed please let me know but otherwise this has been working without a hitch so far.

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

Reply via email to