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

Rocky Olsen rocky at mindphone.org
Sat Feb 14 21:02:22 GMT 2004

I'm having this same problem with almost the exact same setup debian
machine mounting a netapp fileserver re-exporting with samba - and mac
users being unable to mount, same same log errors, same solution. Is there
a better solution though? I'm assuming everything should be okay since nfs
will handle locking - but are there any advantages/disadvantages to this

On Wed, Feb 11, 2004 at 11:06:34AM -0600, Paul Thomas wrote:
> 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


what's with today, today?

Rocky Olsen	rocky at mindphone.org

More information about the samba mailing list