<div class="gmail_quote">On Thu, May 27, 2010 at 8:45 AM, Tomasz Chmielewski <span dir="ltr">&lt;<a href="mailto:mangoo@wpkg.org">mangoo@wpkg.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is it possible to make rsync (in daemon mode) fetch the users from a database (mysql, postgresql), instead of storing them in plain text &quot;secrets file&quot;?</blockquote><div><br></div><div>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 &quot;secret&quot; buffer (using up to &quot;len&quot; bytes) with any found secret.</div>
<div><br></div></div>..wayne..<br>