Trying to copy sysvol with rsync

James B. Byrne byrnejb at
Fri May 8 17:37:18 UTC 2020

rsync 3.1.2_8
samba 4.3.13_2

rsync 3.1.3_1
samab 4.10.13-x samba

DC2 has joined the Domain as a DC using:

samba-tool domain join BROCKLEY-2016.HARTE-LYNE.CA DC
-U"BROCKLEY-2016\administrator" --option='idmap_ldb:use rfc2307 = yes'

I am trying to rsync from DC1:/var/db/samba4/sysvol to DC2:/var/db/samba4 using:

rsync -XAavz --delete-after --rsh='ssh' []:/var/db/samba4/sysvol 

I get these errors:

rsync: set_acl:
ACL_TYPE_ACCESS): Invalid argument (22)
rsync: set_acl: sys_acl_set_file(sysvol/,
ACL_TYPE_ACCESS): Invalid argument (22)

Am I missing a switch?  How do I get this transferred?

***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at
Harte & Lyne Limited
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

More information about the freebsd-questions mailing list