DO NOT REPLY [Bug 4318] automatic module creation with rights on server

samba-bugs at samba-bugs at
Tue Jan 2 23:08:06 GMT 2007

------- Comment #1 from hashproduct+rsync at  2007-01-02 17:08 MST -------
Created an attachment (id=2247)
 --> (
Demo of automatic module creation using a dummy module

In my opinion, it would not make sense for rsync to implement any specific
technique for automatic module creation since different administrators will
want different techniques.  However, it might be useful if rsync had an option
to reload rsyncd.conf between finishing the pre-xfer exec and actually entering
a module.  Then pre-xfer exec would not be too late to automatically create a
new module.

In the absence of that enhancement, you could have each new client first access
a dummy module that triggers the daemon to set up the client's account.  I'm
attaching a tar file of a daemon installation that demonstrates this technique.
 A client uploads a file giving its desired username and password to a module
called "autouser".  In autouser's post-xfer exec, the daemon creates the
client's module and updates the rsyncd.conf and rsyncd.secrets.  Then the
client can perform the real transfer.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list