[Samba] sysvol replcation rsync error
Giuseppe Arvati
giuseppe.arvati at gmail.com
Fri Nov 3 09:32:23 UTC 2017
Hello,
1) fs acl support
I use XFS
I did the tests ( https://wiki.samba.org/index.php/File_System_Support
) and no errors
[root at dc1ucp ~]# setfattr -n user.test -v test test.txt
[root at dc1ucp ~]# setfattr -n security.test -v test2 test.txt
[root at dc1ucp ~]# getfattr -d test.txt
# file: test.txt
user.test="test"
[root at dc1ucp ~]# getfattr -n security.test -d test.txt
# file: test.txt
security.test="test2"
[root at dc1ucp ~]# setfacl -m g:adm:rwx test.txt
[root at dc1ucp ~]# getfacl test.txt
# file: test.txt
# owner: root
# group: root
user::rw-
group::r--
group:adm:rwx
mask::rwx
other::r--
2) rsync command I used
#!/bin/bash
PWDFILE=/usr/local/samba/etc/rsync-sysvol.secret
SVOLPATH=/usr/local/samba/var/locks/sysvol/
ROPT="-XAavz --delete-after"
rsync $ROPT --password-file=$PWDFILE
rsync://sysvol-replication@10.1.1.2/SysVol/ $SVOLPATH
thank you
Il 03/11/2017 09:50, mj via samba ha scritto:
> Hi,
>
> Does your fs support xattr?
>
> Check here: https://wiki.samba.org/index.php/File_System_Support
>
> MJ
>
> On 11/03/2017 08:41 AM, Giuseppe Arvati via samba wrote:
>> Hello ,
>>
>> ( samba 4.6.9 - centos 6 DC1 centos DC2 )
>>
>> I tried to sync sysvol as described in
>> https://wiki.samba.org/index.php/Rsync_based_SysVol_replication_workaround
>>
>> between two DC
>>
>> but rsync shows some errors like this
>> rsync: set_acl:
>> sys_acl_set_file(apam-ad.apam.it/Policies/{D725AAC4-27E8-46AC-918D-55B560988386}/Machine/Applications/{031B2C75-D832-429B-B4C4-226BAA665E3A}.aas,
>> ACL_TYPE_ACCESS): Argument list too long (7)
>>
>> DC1 rsync version 3.0.6 protocol version 30
>> DC2 rsync version 3.0.9 protocol version 30
>>
>> do someone knows a way to avoid this error ?
>>
>> thank you
>>
>> giuseppe
>>
>
More information about the samba
mailing list