[Samba] rsync replication acl error

Rowland penny rpenny at samba.org
Sat May 9 13:37:39 UTC 2020


On 09/05/2020 14:21, James B. Byrne via samba wrote:
> I am trying to replicate a samba-4.3 DC [192.168.8.65] to a newly joined
> samba-4.10 DC.  I am using rsync as described in the samba wiki, excepting that
> I am using a remote shell (ssh) with the root user and password-less logins.
>
> When I run the command below from the 4.10 DC I get acl errors as shown below.
>
> rsync -XAavz --delete-after --rsh='ssh' [192.168.8.65]:/var/db/samba4/sysvol
> /var/db/samba4
> receiving file list ... done
> rsync: set_acl: sys_acl_set_file(sysvol, ACL_TYPE_ACCESS): Invalid argument (22)
> . . . many more errors.
>
> On DC1 I see this:
> getfacl /var/db/samba4/sysvol/brockley-2016.harte-lyne.ca
> # file: /var/db/samba4/sysvol/brockley-2016.harte-lyne.ca
> # owner: root
> # group: BUILTIN\administrators
> user::rwx
> user:root:rwx
> user:BUILTIN\administrators:rwx
> user:BUILTIN\server operators:r-x
> user:3000002:rwx
> user:3000003:r-x
> group::rwx
> group:BUILTIN\administrators:rwx
> group:BUILTIN\server operators:r-x
> group:3000002:rwx
> group:3000003:r-x
> mask::rwx
> other::---
>
> On DC2 I see this:
>
> getfacl /var/db/samba4/sysvol/brockley-2016.harte-lyne.ca
> # file: /var/db/samba4/sysvol/brockley-2016.harte-lyne.ca
> # owner: root
> # group: 3000000
>              owner@:rwxp--aARWcCos:-------:allow
>              group@:rwxp--a-R-c--s:-------:allow
>           everyone@:------a-R-c--s:-------:allow
>
Are you using the same filesystem on both machines ?

The first looks like standard ACL's but the second looks like nfs4acls.

Rowland





More information about the samba mailing list