DO NOT REPLY [Bug 4318] automatic module creation with rights on
server
samba-bugs at samba.org
samba-bugs at samba.org
Tue Jan 2 23:08:06 GMT 2007
https://bugzilla.samba.org/show_bug.cgi?id=4318
------- Comment #1 from hashproduct+rsync at gmail.com 2007-01-02 17:08 MST -------
Created an attachment (id=2247)
--> (https://bugzilla.samba.org/attachment.cgi?id=2247&action=view)
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: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- 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