PATCH - fixes GPFS Sharemode bug

Jim McDonough jmcd at
Wed Jan 24 14:47:51 GMT 2007

On 1/24/07, Mathias Dietz <MDIETZ at> wrote:
> the gpfs module in the current samba trunk does not work with multiple
> nodes. Sorry for the inconvienience.

Interesting, the patch is just
-               deny |= (share_access &
+               deny |= (share_access & FILE_SHARE_WRITE) ?

With this patch, Samba4 smbtorture test RAW-GPFS-SHAREMODE passes
> successfully
> against both single node and 2 nodes.

I'll commit it, because it's GPFS only, but do you have any clues as to why
the file_share_delete caused a problem here?  And is there any case where
something different might fail because of this?

More information about the samba-technical mailing list