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

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


On Thu, May 27, 2010 at 8:45 AM, Tomasz Chmielewski <mangoo at wpkg.org> 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
secret.

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100529/825d6e6e/attachment.html>


More information about the rsync mailing list