Web lists-archives.com

Re: [Samba] sysvol replcation rsync error




If i read the error correct, 

 > rsync: set_acl:  ACL_TYPE_ACCESS): Argument list too long (7)
For this policy GUID : 706AE068-BD20-40CC-B844-6A7E05094C2A

Look up which one this is, and how may groups/users/computers, etc. other things, are set on the policy. 
And, what happens if you ( if your able to ) remove the one temperarly.

I dont know if there is a restrition in ACL for user/groups on XFS, but a thing you can loop up.
Me << not centos/XFS guy.. 


Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens 
> Giuseppe Arvati via samba
> Verzonden: vrijdag 3 november 2017 14:52
> Aan: Rowland Penny; samba@xxxxxxxxxxxxxxx
> Onderwerp: Re: [Samba] sysvol replcation rsync error
> 
> Il 03/11/2017 12:18, Rowland Penny via samba ha scritto:
> > On Fri, 3 Nov 2017 10:32:23 +0100
> > Giuseppe Arvati via samba <samba@xxxxxxxxxxxxxxx> wrote:
> > 
> >> Hello,
> >>
> >> 2) rsync command I used
> >>
> >> #!/bin/bash
> >>
> >> PWDFILE=/usr/local/samba/etc/rsync-sysvol.secret
> >> SVOLPATH=/usr/local/samba/var/locks/sysvol/
> >> ROPT="-XAavz --delete-after"
> >>
> >> rsync $ROPT --password-file=$PWDFILE
> >> rsync://sysvol-replication@10.1.1.2/SysVol/ $SVOLPATH
> >>
> > 
> > Looking at your bash script, I wonder if you are running 
> into a similar
> > problem that I ran into last week. I was trying to run an 
> ldbsearch in
> > a script, but it wouldn't work, though the expanded command ran in a
> > terminal did. I traced it down to something similar to what you are
> > doing, you are setting '$ROPT' to '-XAavz --delete-after'. 
> In my case
> > bash seemed to treating this as one component instead of two, try
> > making the command this:
> > 
> > rsync -XAavz --delete-after --password-file=$PWDFILE
> >   rsync://sysvol-replication@10.1.1.2/SysVol/ $SVOLPATH
> > 
> 
> I changed the script as you suggested but I got the same errors.
> Now the script is:
> #!/bin/bash
> 
> PWDFILE=/usr/local/samba/etc/rsync-sysvol.secret
> SVOLPATH=/usr/local/samba/var/locks/sysvol/
> 
> rsync -XAavz --delete-after --password-file=$PWDFILE 
> rsync://sysvol-replication@10.1.1.2/SysVol/ $SVOLPATH
> 
> and the output is:
> rsync: set_acl: 
> sys_acl_set_file(apam-ad.apam.it/Policies/{706AE068-BD20-40CC-
> B844-6A7E05094C2A}, 
> ACL_TYPE_ACCESS): Argument list too long (7)
> rsync: set_acl: 
> sys_acl_set_file(apam-ad.apam.it/Policies/{706AE068-BD20-40CC-
> B844-6A7E05094C2A}/GPT.INI, 
> ACL_TYPE_ACCESS): Argument list too long (7)
> rsync: set_acl: 
> sys_acl_set_file(apam-ad.apam.it/Policies/{706AE068-BD20-40CC-
> B844-6A7E05094C2A}/Machine, 
> ACL_TYPE_ACCESS): Argument list too long (7)
> 
> I tried to run rsync from command line and got same errors
> 
> 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