Am 29.05.2010 19:17, Wayne Davison wrote:
On Thu, May 27, 2010 at 8:45 AM, Tomasz Chmielewski <man...@wpkg.org
<mailto:man...@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.

Still, if I understand correctly, I would need plain text passwords in the database?

I.e. I wouldn't be able to use a md5 / sha password from some other user auth system without changing rsync protocol?


--
Tomasz Chmielewski
http://wpkg.org

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to