rsyncd users/passwords in a database (mysql, postgresql)?

Wayne Davison wayned at
Sat May 29 11:17:54 MDT 2010

On Thu, May 27, 2010 at 8:45 AM, Tomasz Chmielewski <mangoo at> wrote:

> Is it possible to make rsync (in daemon mode) fetch the users from a
> database (mysql, postgresql), instead of storing them in plain text "secrets
> file"?

That is not currently possible, but would be fairly easy to add in
authenticate.c -- look for the get_secret() function.  If you change that to
do a DB connection and construct a query from the module and user values, it
could populate the "secret" buffer (using up to "len" bytes) with any found

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list