Hello -- I have two SUSE 9 servers and I'm trying to replicate some files between them using rsync.
Server A successfully replicates to B but when I issue the rsync command on B I first get prompted to enter a password and then I get this message below:
@ERROR: auth failed on module data
rsync error: error starting client-server protocol (code 5) at main.c(1308) [receiver=2.6.8]
When server A replicates to B I am not prompted for a password. I'm logged in as root to both servers and the root password is the same on both machines.
So my question is #1) Why am I getting prompted for my password on server B when rsync is issued and #2) What is the cause of the message above?
Here is the command that I'm issuing:
rsync -avzu --stats --delete 192.168.10.66::data /mnt/samba/data/
Here is my rsync.conf file:
uid = root
gid = root
read only = false
use chroot = no
transfer logging = true
log format = %h %o %f %l %b
log file = /var/log/rsyncd.log
hosts allow = 192.168.30.66, 192.168.10.66
user auth = rsyncuser,root,josh
#slp refresh = 300
secrets file = /etc/rsyncd.secrets
path = /mnt/samba/data_tac
comment = TAC RSYNC Data Share