@ERROR: auth failed on module user1_dir
Jon Essen-Moller
jon at essen-moller.com
Mon Jan 5 17:02:59 GMT 2004
Hi
I cant get the user auth to work. Do anyone have any suggestions. See
config below
---/etc/rsyncd.conf---
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
uid = rsync
gid = users
[user1_dir]
path = /home/rsync
comment = user1 test bibliotek
read only = false
auth users = user1
secrets file = /etc/rsyncd.secrets
[user2_dir]
path = /home/rsync1
comment = user2 test bibliotek
read only = false
auth users = user2
secrets file = /etc/rsyncd.secrets
-------end------------
---etc/rsyncd.secrets---
user1:u1
user2:u2
-------end------------
to connect from Cygwin do I Use:
$ rsync . websafe.jonem.net::user2_dir
and I get:
Password:
@ERROR: auth failed on module user2_dir
rsync: connection unexpectedly closed (93 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at
/home/lapo/packagi
ng/tmp/rsync-2.5.7/io.c(165)
the rights for etc/rsyncd.secrets is att the moment set to:
-rwxrwxrwx 1 root root 17 Jan 5 17:32 rsyncd.secrets*
since I cant get it to work
any ideas?
Best regards - Jon
<<---------------
Jon Essen-Moller
+46 708 793333
More information about the rsync
mailing list