[Samba] GPFS, samba, robocopy and timestamps

2010-06-07 Thread big beer
Hi list,

I'm trying to use robocopy to move some files over to a samba share
backed by GPFS. I keep getting "ERROR 50 (0x0032) Time-stamping
destination file ... The network request is not supported."

What is strange is that the files are still coped over, even though
robocopy believes the copy failed, and in the smb log I don't have any
errors or erroneous NT_STATS messages. From all indications on the
server it looks like the copy was good.

Any ideas? Anyone know if GPFS doesn't support the correct precision
of timestamps that samba is trying to apply?

Thanks!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] ACLs in windows clients w/ GPFS

2010-05-28 Thread big beer
On Fri, May 28, 2010 at 1:31 AM, Orlando Richards
 wrote:
> On -10/01/37 20:59, big beer wrote:
>>
>> Hello list,
>>
>> I've got a ctdb cluster working against a GPFS cluster. I've got ACLs
>> going and have set the default/active ACLs on my folders. The ACLs
>> seem to be working fine, they are correctly limiting/allowing access
>> to the said folders/files.
>>
>> My issue is that when using the windows client to view/change the ACLs
>> everything goes south. When trying to view the ACLs via right clicking
>> on the folder in windows and going to the security tab only shows the
>> basic unix permissions (owner/group/other). If I try to add a new user
>> to the ACL via windows it still won't show up in the security window
>> after adding. When going back to a shell and looking at the ACLs on
>> the folder in question the new user is present, but the previous ACLs
>> have been removed.
>>
>> Any thoughts on how to get these ACLs to show/work through a windows
>> client?
>>
>> Thanks!
>>
>
> Hi Big (!),
>
> I've got it working at the moment - here are some relevant settings from my
> smb.conf. Make sure your filesystem is set to use NFSv4 ACLs ("-k nfs4", or
> possibly "-k all").
>
> vfs objects = gpfs fileid shadow_copy2
> nfs4: mode = special
> nfs4: chown = yes
> nfs4: acedup = merge
> force unknown acl user = yes
> acl group control = true
> map acl inherit = yes
> inherit acls = no
> dos filemode = no
>
> I'm using samba 3.4.5-42
>
> --
> Orlando.
>
>
>
> --
>            --
>   Dr Orlando Richards
>  Information Services
> IT Infrastructure Division
>       Unix Section
>    Tel: 0131 650 4994
>
> The University of Edinburgh is a charitable body, registered in Scotland,
> with registration number SC005336.
>



It was the -k setting on the FS. I was running with -k all and trying
to use POSIX ACLs. After changing over to -k nfs4 and putting nfs4
ACLs on the FS it works as expected.
I guess the GPFS module doesn't work with POSIX ACLs?

Thanks!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] ACLs in windows clients w/ GPFS

2010-05-27 Thread big beer
Hello list,

I've got a ctdb cluster working against a GPFS cluster. I've got ACLs
going and have set the default/active ACLs on my folders. The ACLs
seem to be working fine, they are correctly limiting/allowing access
to the said folders/files.

My issue is that when using the windows client to view/change the ACLs
everything goes south. When trying to view the ACLs via right clicking
on the folder in windows and going to the security tab only shows the
basic unix permissions (owner/group/other). If I try to add a new user
to the ACL via windows it still won't show up in the security window
after adding. When going back to a shell and looking at the ACLs on
the folder in question the new user is present, but the previous ACLs
have been removed.

Any thoughts on how to get these ACLs to show/work through a windows client?

Thanks!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] ACL madness

2010-05-07 Thread big beer
Hello list,

I'm having a "fun" time trying to figure out my ACL problems.
I've gone through the default ACL settings and the mask settings on
the filesystem to ensure that the user I am using does indeed have
access to the filesystem that is being shared out.
My issue is that I am unable to overwrite a file that already exists
with another file of the same name. I get the windows dialog "Are you
sure you want to overwrite this file" but when selecting "yes" it
fails with a big fat "The request is not supported". I can
edit/rename/delete this file so I think I have the right ACLs on the
folder it is in and on the file itself.

Here is the ACL on the folder that contains the file:
~ getfacl test
# file: test
# owner: root
# group: root
user::rwx
group::r-x
group:DOMAIN\134domain\040admins:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::r-x
default:group:DOMAIN\134domain\040admins:rwx
default:mask::rwx
default:other::r-x

And here is the ACL on the actual file:
~ getfacl New\ Text\ Document.txt
# file: New\040Text\040Document.txt
# owner: DOMAIN\134Myuser
# group: DOMAIN\134domain\040users
user::rwx
group::r-x
group:DOMAIN\134domain\040admins:rwx
mask::rwx
other::r--

Here is the output from the logfile when I click yes to the dialog to
overwrite the file:
[2010/05/07 03:34:38.392475,  3] smbd/process.c:1485(process_smb)
 Transaction 422 of length 144 (0 toread)
[2010/05/07 03:34:38.392572,  3] smbd/process.c:1294(switch_message)
 switch message SMBntcreateX (pid 11135) conn 0x7fa8cc722b40
[2010/05/07 03:34:38.392670,  3] smbd/vfs.c:851(check_reduced_name)
 check_reduced_name [test/New Text Document.txt] [/gpfs1]
[2010/05/07 03:34:38.392724,  3] smbd/vfs.c:1008(check_reduced_name)
 check_reduced_name: test/New Text Document.txt reduced to
/gpfs1/test/New Text Document.txt
[2010/05/07 03:34:38.392752,  3] smbd/vfs.c:851(check_reduced_name)
 check_reduced_name [test/New Text Document.txt] [/gpfs1]
[2010/05/07 03:34:38.392792,  3] smbd/vfs.c:1008(check_reduced_name)
 check_reduced_name: test/New Text Document.txt reduced to
/gpfs1/test/New Text Document.txt
[2010/05/07 03:34:38.392833,  3] smbd/dosmode.c:166(unix_mode)
 unix_mode(test/New Text Document.txt) returning 0764
[2010/05/07 03:34:38.392859,  3] smbd/vfs.c:851(check_reduced_name)
 check_reduced_name [test/New Text Document.txt] [/gpfs1]
[2010/05/07 03:34:38.392899,  3] smbd/vfs.c:1008(check_reduced_name)
 check_reduced_name: test/New Text Document.txt reduced to
/gpfs1/test/New Text Document.txt
[2010/05/07 03:34:38.393030,  1] modules/vfs_gpfs.c:961(gpfs_get_xattr)
 gpfs_get_xattr:name is user.SAMBA_PAI
[2010/05/07 03:34:38.393133,  2] smbd/open.c:631(open_file)
 DOMAIN\Myuser opened file test/New Text Document.txt read=No write=Yes
(numopen=2)
[2010/05/07 03:34:38.393339,  3] smbd/error.c:80(error_packet_set)
 error packet at smbd/error.c(160) cmd=162 (SMBntcreateX)
NT_STATUS_NOT_SUPPORTED


I should also note that if I try to overwrite a folder with a folder
of the same name instead of a file with a file of the same name, it is
successful.

Any help would be greatly appreciated.

Thanks,

Bigbeer
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba