[Samba] sysvol permission errors on newly joined DC

spindles seven spindles7 at gmail.com
Mon Mar 21 10:14:59 UTC 2022


On 21 March 2022 10:04 Rowland Penny wrote: 
> On Mon, 2022-03-21 at 09:53 +0000, Carlos Gardel via samba wrote:
> > Therefore I have the following in crontab (on DC3):
> >
> > # Rsync Sysvol folder from DC1 to local
> > */5 * * * * rsync -XAavz --delete-after --password-
> > file=/usr/local/samba/etc/rsync-sysvol.secret rsync://sysvol-
> > replication at 192.168.xxx.xxx/SysVol/ /usr/local/samba/var/locks/sysvol
> >
> 
> Is your crontab a root crontab ? It needs to be.
> 
> Rowland
> 

I think you also need to specify the full path to rsync in the crontab:

*/5 * * * * /usr/bin/rsync -XAavz .... etc

HTH

Roy




More information about the samba mailing list