SysVol Replication from Windows 2003 server
Jonn Taylor
jonnt at taylortelephone.com
Wed Aug 28 08:57:33 MDT 2013
I am trying to setup sysvol replication from a windows pdc using cwrsync
following this guide.
https://wiki.samba.org/index.php/SysVol_Replication
The examples there are only for linux. Could use some help with config.
Jonn
Windows 2003 Server C:\Program Files\ICW\rsyncd.conf
use chroot = true
strict modes = false
hosts allow = *
log file = rsyncd.log
# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#
[SysVol]
path = /cygdrive/C/WINDOWS/SYSVOL/sysvol
comment = Samba Sysvol Share
read only = yes
auth users = sysvol-replication
secrets file = /cygdrive/C/rsyncd.secret
This is the command I am using from the new Samba 4 AD server.
[root at dc0 ~]# rsync --dry-run -XAavz --delete-after
--password-file=/usr/local/samba/etc/rsync-sysvol.secret
rsync://sysvol-replication@dc2/SysVol/ /usr/local/samba/var/locks/sysvol/
@ERROR: invalid uid nobody
rsync error: error starting client-server protocol (code 5) at
main.c(1503) [receiver=3.0.6]
More information about the samba-technical
mailing list