Andrew Moore
2005-Sep-27 13:39 UTC
"missing secret for user" using cygwin rsync on Windows XP Home
Hi, I'm trying to set up rsync to allow me to backup a number of Windows machine to a Windows XP Home server using Nasbackup. I can get rsync working fine but have been struggling for days to get user authentication working. /var/log/rsyncd.log 2005/09/27 13:46:37 [1352] rsyncd version 2.6.6 starting, listening on port 873 2005/09/27 13:47:50 [4088] auth failed on module modulename from localhost (127.0.0.1): missing secret for user "me" /etc/rsyncd.conf use chroot = false strict modes = false log file = /var/log/rsyncd.log [modulename] path = /cygdrive/c/cygwin/home/backups comment = Rsync storage area read only = false auth users = me secrets file = /cygdrive/c/cygwin/etc/rsyncd.secrets /etc/rsyncd.secrets me:pass The server was started with the following command line: cygrunsrv.exe -I "Rsync" -p /cygdrive/c/cygwin/bin/rsync.exe -a "--config=/cygdrive/c/cygwin/etc/rsyncd.conf --daemon -cc -no-detach" -f "Rsync daemon service" net start rsync The Rsync service is starting. The Rsync service was started successfully. The client was started with the following command line: rsync -vvr /cygdrive/c/folder localhost::modulename opening tcp connection to localhost port 873 opening connection using --server -vvr . modulename Password: @ERROR: auth failed on module modulename rsync error: error starting client-server protocol (code 5) at /home/lapo/packaging/tmp/rsync-2.6.6main.c(1171) As shown above, authentication is failing because it is not picking up the secret for the user. I have tried the forums, web searches etc and have tried tons but nothing seems to work. Any other ideas? Thanks very much, Andrew -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm
Andrew Moore
2005-Sep-27 15:11 UTC
"missing secret for user" using cygwin rsync on Windows XP Home
Hi, I'm trying to set up rsync to allow me to backup a number of Windows machine to a Windows XP Home server using Nasbackup. I can get rsync working fine but have been struggling for days to get user authentication working. /var/log/rsyncd.log 2005/09/27 13:46:37 [1352] rsyncd version 2.6.6 starting, listening on port 873 2005/09/27 13:47:50 [4088] auth failed on module modulename from localhost (127.0.0.1): missing secret for user "me" /etc/rsyncd.conf use chroot = false strict modes = false log file = /var/log/rsyncd.log [modulename] path = /cygdrive/c/cygwin/home/backups comment = Rsync storage area read only = false auth users = me secrets file = /cygdrive/c/cygwin/etc/rsyncd.secrets /etc/rsyncd.secrets me:pass The server was started with the following command line: cygrunsrv.exe -I "Rsync" -p /cygdrive/c/cygwin/bin/rsync.exe -a "--config=/cygdrive/c/cygwin/etc/rsyncd.conf --daemon -cc -no-detach" -f "Rsync daemon service" net start rsync The Rsync service is starting. The Rsync service was started successfully. The client was started with the following command line: rsync -vvr /cygdrive/c/folder localhost::modulename opening tcp connection to localhost port 873 opening connection using --server -vvr . modulename Password: @ERROR: auth failed on module modulename rsync error: error starting client-server protocol (code 5) at /home/lapo/packaging/tmp/rsync-2.6.6main.c(1171) As shown above, authentication is failing because it is not picking up the secret for the user. I have tried the forums, web searches etc and have tried tons but nothing seems to work. Any other ideas? Thanks very much, Andrew -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm
Mike Daws
2005-Sep-28 02:06 UTC
"missing secret for user" using cygwin rsync on Windows XP Home
Do you not need to specify the username you wish to log in with, as part of your rsync request? ie, rsync -vvr /cygdrive/c/folder me@localhost::modulename On Tue, 2005-09-27 at 21:38, Andrew Moore wrote:> Hi, > > I'm trying to set up rsync to allow me to backup a number of Windows machine to a Windows XP Home server using Nasbackup. > > I can get rsync working fine but have been struggling for days to get user authentication working. > > /var/log/rsyncd.log > > 2005/09/27 13:46:37 [1352] rsyncd version 2.6.6 starting, listening on port 873 > 2005/09/27 13:47:50 [4088] auth failed on module modulename from localhost (127.0.0.1): missing secret for user "me" > > /etc/rsyncd.conf > > use chroot = false > strict modes = false > log file = /var/log/rsyncd.log > > [modulename] > > path = /cygdrive/c/cygwin/home/backups > comment = Rsync storage area > read only = false > auth users = me > secrets file = /cygdrive/c/cygwin/etc/rsyncd.secrets > > /etc/rsyncd.secrets > > me:pass > > The server was started with the following command line: > > cygrunsrv.exe -I "Rsync" -p /cygdrive/c/cygwin/bin/rsync.exe -a "--config=/cygdrive/c/cygwin/etc/rsyncd.conf --daemon -cc -no-detach" -f "Rsync daemon service" > net start rsync > > The Rsync service is starting. > The Rsync service was started successfully. > > The client was started with the following command line: > rsync -vvr /cygdrive/c/folder localhost::modulename > opening tcp connection to localhost port 873 > opening connection using --server -vvr . modulename > Password: > @ERROR: auth failed on module modulename > rsync error: error starting client-server protocol (code 5) at /home/lapo/packaging/tmp/rsync-2.6.6main.c(1171) > > As shown above, authentication is failing because it is not picking up the secret for the user. > > I have tried the forums, web searches etc and have tried tons but nothing seems to work. > > Any other ideas? > > Thanks very much, > Andrew > > -- > ___________________________________________________________ > Sign-up for Ads Free at Mail.com > http://promo.mail.com/adsfreejump.htm > > -- > To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Tevfik Karagülle
2005-Sep-28 02:52 UTC
"missing secret for user" using cygwin rsync on Windows XP Home
Hi, Maybe you used Notepad and saved your secrets file in Unicode-coding. Try ANSI instead. Rgrds Tev http://itefix.no> -----Original Message----- > From: rsync-bounces+tevfik=itefix.no@lists.samba.org > [mailto:rsync-bounces+tevfik=itefix.no@lists.samba.org] On > Behalf Of Andrew Moore > Sent: 27. september 2005 15:39 > To: rsync@lists.samba.org > Subject: "missing secret for user" using cygwin rsync on > Windows XP Home > > Hi, > > I'm trying to set up rsync to allow me to backup a number of > Windows machine to a Windows XP Home server using Nasbackup. > > I can get rsync working fine but have been struggling for > days to get user authentication working. > > /var/log/rsyncd.log > > 2005/09/27 13:46:37 [1352] rsyncd version 2.6.6 starting, > listening on port 873 > 2005/09/27 13:47:50 [4088] auth failed on module modulename > from localhost (127.0.0.1): missing secret for user "me" > > /etc/rsyncd.conf > > use chroot = false > strict modes = false > log file = /var/log/rsyncd.log > > [modulename] > > path = /cygdrive/c/cygwin/home/backups > comment = Rsync storage area > read only = false > auth users = me > secrets file = /cygdrive/c/cygwin/etc/rsyncd.secrets > > /etc/rsyncd.secrets > > me:pass > > The server was started with the following command line: > > cygrunsrv.exe -I "Rsync" -p /cygdrive/c/cygwin/bin/rsync.exe > -a "--config=/cygdrive/c/cygwin/etc/rsyncd.conf --daemon -cc > -no-detach" -f "Rsync daemon service" > net start rsync > > The Rsync service is starting. > The Rsync service was started successfully. > > The client was started with the following command line: > rsync -vvr /cygdrive/c/folder localhost::modulename opening > tcp connection to localhost port 873 opening connection using > --server -vvr . modulename > Password: > @ERROR: auth failed on module modulename rsync error: error > starting client-server protocol (code 5) at > /home/lapo/packaging/tmp/rsync-2.6.6main.c(1171) > > As shown above, authentication is failing because it is not > picking up the secret for the user. > > I have tried the forums, web searches etc and have tried tons > but nothing seems to work. > > Any other ideas? > > Thanks very much, > Andrew > > -- > ___________________________________________________________ > Sign-up for Ads Free at Mail.com > http://promo.mail.com/adsfreejump.htm > > -- > To unsubscribe or change options: > https://lists.samba.org/mailman/listinfo/rsync > Before posting, read: > http://www.catb.org/~esr/faqs/smart-questions.html >-------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3022 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20050928/c2352c0d/smime.bin