Web lists-archives.com

Re: [Samba] sysvol replcation rsync error




Best guess.. 

Can you check this : 

( from the wiki ) 
Good: 
rsync --dry-run -XAavz --delete-after --password-file=/usr/local/samba/etc/rsync-sysvol.secret rsync://sysvol-replication@{IP-of-you-PDC}/SysVol/ /path/to/your/sysvol/folder/ 

Wrong. 
rsync --dry-run -XAavz --delete-after --password-file=/usr/local/samba/etc/rsync-sysvol.secret rsync://sysvol-replication@{IP-of-you-PDC}/SysVol/* /path/to/your/sysvol/folder/

The difference is the * after Sysvol, so check if "*" is in the rsync line. 

Greetz, 

Louis






> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens mj via samba
> Verzonden: vrijdag 3 november 2017 9:51
> Aan: samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] sysvol replcation rsync error
> 
> 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_replicatio
> n_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-B4
> C4-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
> > 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba