hi all, using rsync 3.1, I need to use distinct secrets file according to what modules are being "authenticated". This seems to work : (...) secrets file = /etc/rsyncd/secrets1.inc &include = /etc/rsyncd/mymodules1/ secrets file = /etc/rsyncd/secrets2.inc &include = /etc/rsyncd/mymodules2/ (...) ie. any modules declared in mymodules1/ will use users/passwords in secret1.inc whereas mymodules2/ modules will use secret2.inc. is it the right way to implement this ? sorry if the question has been asked before thanks Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20130930/970248ad/attachment.html>
On Mon 30 Sep 2013, thomas veymont wrote:> > ie. any modules declared in mymodules1/ will use users/passwords in > secret1.inc whereas mymodules2/ modules will use secret2.inc. > > is it the right way to implement this ?Well, the "secrets" parameter is listed under "MODULE PARAMETERS" in the rsyncd.conf manpage(*), so that should be fine. (*) in the 3.0.9 version at least, only just noticed 3.1.0 being out Paul