access denied from rsync server

Martin Jeppesen d2xdt2 at gmail.com
Thu Apr 6 23:17:42 GMT 2006


Hi,

Can someone help me out, if I want to connect to a rsync server, and
download / from it?

It is started in /etc/rc.local by
su -c "rsync --daemon"

and /etc/rsyncd.conf contains:

log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock

[tlf]
   path = /
   comment = export
   uid = root
   gid = root
   read only = yes
   hosts allow = 192.168.0.12
   list = yes
   auth users = rsroot
   secrets file = /etc/rsyncd.secrets

and /etc/rsyncd.secrets contains
rroot:rroot

On the computer where the data should be downloaded to do I use:
rsync -avWHRx 192.168.0.6::tlf /media/backup/latest-tlf/

After entering the rroot password I get this error:
@ERROR: auth failed on module tlf
rsync error: error starting client-server protocol (code 5) at
main.c(1296) [receiver]

If I remove the "auth users" and "secrets file" it works.

Can anyone help me out? =)

Martin


More information about the rsync mailing list