[Samba] Writing to a ReExported NFS Share With A MAC

Paul Thomas pwthoma at anc.net
Wed Feb 11 17:06:34 GMT 2004

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 

[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.


More information about the samba mailing list