Tomasz Chmielewski
2010-May-27 15:45 UTC
rsyncd users/passwords in a database (mysql, postgresql)?
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"? -- Tomasz Chmielewski http://wpkg.org
Wayne Davison
2010-May-29 17:17 UTC
rsyncd users/passwords in a database (mysql, postgresql)?
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>