@ERROR: auth failed on module test

Dave Dykstra dwd at bell-labs.com
Sat Feb 2 01:51:58 EST 2002

You need a "secrets file" as rsyncd.conf.5 says:
       auth users
              The "auth users" option specifies a comma and space
              separated list of usernames that will be allowed to
              connect  to  this module. The usernames do not need
              to exist on the local  system.  The  usernames  may
              also  contain  shell  wildcard characters. If "auth
              users" is set then the client will be challenged to
              supply  a  username  and password to connect to the
              module. A challenge response authentication  proto-
              col is used for this exchange. The plain text user-
              names are passwords are stored in the  file  speci-
              fied  by  the "secrets file" option. The default is
              for all users to be able to connect without a pass-
              word (this is called "anonymous rsync").

- Dave Dykstra

On Fri, Feb 01, 2002 at 09:01:07AM -0500, MICHAEL R. LEFEBVRE wrote:
> rsync: connection unexpectedly closed (88 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at
> io.c(139)
> I'm getting the above error when trying to use rsync over port 873. 
> The command I'm using is :
> rsync -avz root at sundog::test ./
>  the /etc/rsyncd.conf contains the following
> auth users = root
> uid = root
> gid = staff
> [test]
> path = /export/home/mrl315
> Any suggestions would be appreciated - I've been trying to get this
> working off and on for about 2 weeks now.
> Regards,
> Mike Lefebvre

More information about the rsync mailing list