s3:vfs:gpfs: fix logic when gpfs:winattr is false (the default!)
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 20 Nov 2009 09:39:57 +0000 (10:39 +0100)
committerMichael Adam <obnox@samba.org>
Fri, 21 Jan 2011 09:10:02 +0000 (10:10 +0100)
commit385d925f7e0fedca7d480e4f25d89e3194433b88
treeb69b7f6ee6944741745e823259b06ed1d2b5dc97
parent1a96ec21095c3524558b9a28643f84a28701db13
s3:vfs:gpfs: fix logic when gpfs:winattr is false (the default!)

On my autocluster setup, it's not set.  Maybe it should be?  Otherwise
smbclient and some Windows client programs will get errors like:

        # smbclient //localhost/data -Uadministrator%XXX
        Domain=[VSOFS1] OS=[Unix] Server=[Samba 3.4.2-ctdb-10]
        smb: \> put /etc/resolv.conf resolv.conf
        NT_STATUS_ACCESS_DENIED closing remote file \resolv.conf
        smb: \>

Caused by attempting to update the time on close.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Michael Adam <obnox@samba.org>
source3/modules/vfs_gpfs.c