Jason.Wang@CN.vesuvius.com
2006-Dec-06  07:16 UTC
for RSYNC on windows 2003 stand along server
Hello, 
I have one question for RSYC running on windows 2003, 
the rsyncd.conf like following
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[tkbak]
        path = /local/tkbak
        comment = tk backup folder
        uid = root
        gid = root
        read only = no
        list = yes
        auth users = root
        secrets file = /etc/sync.pw
sync.pw content as following
root:1234
I use command : rsync -vzrtopg --progress --delete /cygdrive/d/TMPFILE 
root@10.160.9.19::tkbak --password-file=c:\rsync
C:\rsync content as following
root:1234
no any space at bottom
also I use chmod command change this file method to 600
I get the error @ERROR: auth failed on module tkbak
I check the log file, get information as following
2006/12/06 14:40:20 [3433] rsync: name lookup failed for 10.160.9.12: Name 
or se
rvice not known
2006/12/06 14:40:20 [3433] auth failed on module tkbak from UNKNOWN 
(10.160.9.12
)
but when I try the command rsync -vzrtopg --progress --delete 
/cygdrive/d/TMPFILE root@10.160.9.19::tkbak, and input password: 1234, 
looks working
the log information as following
2006/12/06 14:38:27 [3427] rsync: name lookup failed for 10.160.9.12: Name 
or se
rvice not known
2006/12/06 14:38:29 [3427] rsync to tkbak from root@UNKNOWN (10.160.9.12)
2006/12/06 14:38:29 [3427] deleting TMPFILE/New Text Document.txt
2006/12/06 14:38:29 [3427] TMPFILE/
2006/12/06 14:38:29 [3428] wrote 73 bytes  read 174 bytes  total size 1118
any idea why it can not working with option --password-file??
Best regards
                 Jason Wang
                 Vesuvius SuZhou China
                 TEL:+86 (0)512 67411707
 
-------------- next part --------------
HTML attachment scrubbed and removed
Jason.Wang@CN.vesuvius.com wrote:> > Hello, > > I have one question for RSYC running on windows 2003, > > the rsyncd.conf like following > > log file = /var/log/rsyncd.log > pid file = /var/run/rsyncd.pid > lock file = /var/run/rsync.lock > [tkbak] > path = /local/tkbak > comment = tk backup folder > uid = root > gid = root > read only = no > list = yes > auth users = root > secrets file = /etc/sync.pw > > > sync.pw content as following > > root:1234 > > I use command : rsync -vzrtopg --progress --delete /cygdrive/d/TMPFILE > root@10.160.9.19::tkbak --password-file=c:\rsync > > C:\rsync content as following > > root:1234 > > no any space at bottom > > also I use chmod command change this file method to 600 > > I get the error @ERROR: auth failed on module tkbak > > I check the log file, get information as following > > 2006/12/06 14:40:20 [3433] rsync: name lookup failed for 10.160.9.12: > Name or se > rvice not known > 2006/12/06 14:40:20 [3433] auth failed on module tkbak from UNKNOWN > (10.160.9.12 > ) > > but when I try the command rsync -vzrtopg --progress --delete > /cygdrive/d/TMPFILE root@10.160.9.19::tkbak, and input password: 1234, > looks working > > the log information as following > > 2006/12/06 14:38:27 [3427] rsync: name lookup failed for 10.160.9.12: > Name or se > rvice not known > 2006/12/06 14:38:29 [3427] rsync to tkbak from root@UNKNOWN (10.160.9.12) > 2006/12/06 14:38:29 [3427] deleting TMPFILE/New Text Document.txt > 2006/12/06 14:38:29 [3427] TMPFILE/ > 2006/12/06 14:38:29 [3428] wrote 73 bytes read 174 bytes total size 1118 > > > any idea why it can not working with option --password-file?? > > > > > Best regards > Jason Wang > Vesuvius SuZhou China > TEL:+86 (0)512 67411707 >The file should have the password only. Just the string 1234 man rsync: --password-file This option allows you to provide a password in a file for accessing a remote rsync daemon. Note that this option is only useful when accessing an rsync daemon using the built in trans- port, not when using a remote shell as the transport. The file must not be world readable. It should contain just the password as a single line. -- Thanks, James