@ERROR: auth failed on module test

4 posts / 0 new
Last post
karl1
Offline
Last seen: 6 years 9 months ago
Joined: 28.06.2012 - 07:07
@ERROR: auth failed on module test

Can't access Windows 7 cwRsync server from Linux.

I have installed cwRsync-Server_5.0.1 using the downloaded installer on a Windows 7 64 pc.
Started the service after allowing port 873 in Windows Firewall.

Trying to access the service from a linux box with

rsync -va --password-file=.pass wmuser@remotesvr::test .

I get
opening tcp connection to remotesvr port 873
Connected to remotesvr (ip number here)
sending daemon args: --server --sender -vvvlogDtpre.isf . test/
@ERROR: auth failed on module test

My rsyncd.conf file:

use chroot = false
strict modes = false
hosts allow = (my ip number here)
[test]
  path = /cygdrive/c/work
  read only = true
  transfer logging = yes
  auth users = wmuser
  secrets file = C:/Program\040Files\040(x86)/ICW/etc/rsyncd.secrets
  strict modes = false
  list = false

My secrets file is in the folder above and contains with an extra return at the end:
wmuser:wmpass

On the linux box I have a .pass file readable only by root containing the password.

I have tried various folders for the rsyncd.secrets file and altered the path accordingly and still no luck.

The error log from cwrsync contains:

2012/07/14 16:59:49 [8304] name lookup failed for (my ip): hostname nor servname provided, or not known
2012/07/14 16:59:49 [8304] connect from UNKNOWN (my ip)
2012/07/14 16:59:50 [8304] auth failed on module test from unknown (my ip): missing secret for user "wmuser"

Am I missing something or made a mistake?

Any help would be appreciated.

Thanks in advance.

itefix
Offline
Last seen: 8 hours 18 min ago
Joined: 01.05.2008 - 21:33
try to add following entries

try to add following entries at the top of rsyncd.config:

uid=0

gid=0

you can also specify secrets file location by using cygwin conventions.

karl1
Offline
Last seen: 6 years 9 months ago
Joined: 28.06.2012 - 07:07
Added uid=0 gid=0 and changed

Added

uid=0

gid=0

and changed to cywin

#  secrets file = C:/Program\040Files\040(x86)/ICW/etc/rsyncd.secrets

  secrets file = /cygdrive/c/Program\ Files\ (x86)/ICW/etc/rsyncd.secrets

Restarted service and got same result.

@ERROR: auth failed on module test

 

itefix
Offline
Last seen: 8 hours 18 min ago
Joined: 01.05.2008 - 21:33
Do you still have this

Do you still have this problem ?