Created attachment 214377 [details]
jail console listings with different chflags and securelevel settings
DC1 (samba-01) Bhyve vm guest running FreeBSD-10.3p23 amdx64, samba-4.3.13_2, and rsync-3.1.3
DC2 (samba-03) Iocage jail running FreeBSD-12.1p4 amdx64, samba-4.10.14, and rsync-4.10.14
DC1 is provisioned as an AD-DC. DC2 has been joined as a DC to DC1 DOMAIN.
We are attempting to replicate DC1 sysvol to DC2 via rsync using ssh with root user rsa authentication.
[root@samba-03 ~]# rsync -XAav --delete-after --rsh='ssh' [192.168.8.65]:/var/db/samba4/sysvol /var/db/samba4
!!Warning!! - Any deliberate attempt to access this resource without
legitimate authorization is a criminal offence
(R.S.C. 1985, c. C-46 - Section 342.1).
receiving file list ...
recv_acl_index: ACL_TYPE_ACCESS ACL index 16 > 0
rsync error: error in rsync protocol data stream (code 12) at acls.c(1119) [Receiver=3.1.3]
DC2 rsync version is actually rsync-3.1.3_1
Important note. Samba43 runs on UFS. Samba410 runs on ZFS.
Thanks for the report with the details