Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2020 13:37:14 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   Trying to copy sysvol with rsync
Message-ID:  <912e0c678744e1ef1b12a42e6e96f9ca.squirrel@webmail.harte-lyne.ca>

Next in thread | Raw E-Mail | Index | Archive | Help
DC1
FreeBDS-10.3
rsync 3.1.2_8
samba 4.3.13_2


DC2
Freebsd-12.1
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' [192.168.8.65]:/var/db/samba4/sysvol 
/var/db/samba

I get these errors:

rsync: set_acl:
sys_acl_set_file(sysvol/brockley-2016.harte-lyne.ca/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/USER,
ACL_TYPE_ACCESS): Invalid argument (22)
sysvol/brockley-2016.harte-lyne.ca/scripts/
rsync: set_acl: sys_acl_set_file(sysvol/brockley-2016.harte-lyne.ca/scripts,
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@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?912e0c678744e1ef1b12a42e6e96f9ca.squirrel>