[Samba] rsync sysvol replication failing
James Atwell
james.atwell365 at gmail.com
Tue May 19 18:55:39 UTC 2020
Hello,
Recently I had an issue with a DC that I pointed all other DC's
at to replicate their sysvol folder. I removed and demoted this DC from
the domain. I chose another DC to have it's sysvol folder pulled from.
I setup this DC per the wiki that holds the PDC Emulator FSMO Role. On
the other DC's I updated the cronjob to point to the new DC. Figured it
would be that simple. It hasn't been. Running the rysnc command I got a
timeout error. I Forgot to open port 873. Corrected that and tried
again. Now I get connection refused. The strange part is if I manually
push a file it works. If I pull I get an error.
root at dundc3:~# rsync -avz /var/log/auth.log
jatwell at 172.16.232.39:/home/jatwell/
jatwell at 172.16.232.39's password:
sending incremental file list
auth.log
sent 255 bytes received 1,499 bytes 389.78 bytes/sec
total size is 171,837 speedup is 97.97
root at dundc3:~# rsync -avz rsync://jatwell@172.16.232.39:/home/jatwell/
/home/jatwell/
rsync: failed to connect to 172.16.232.39 (172.16.232.39): Connection
refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(128)
[Receiver=3.1.1]
rsync --dry-run -XAavz --delete-after
--password-file=/usr/local/samba/etc/rsync-sysvol.secret
rsync://sysvol-replication@172.16.232.39/SysVol/
/usr/local/samba/var/locks/sysvol/
rsync: failed to connect to 172.16.232.39 (172.16.232.39): Connection
refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(128)
[Receiver=3.1.1]
Any ideas what I'm missing?
OS Ubuntu 16.04
Samba 4.11.6
-James
More information about the samba
mailing list