[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] my patches for multiple users & multiple concurrent conections



Andrew Arensburger wrote:

> 	This is a good idea, but I'm reluctant to make this change
> right now, because ColdSync doesn't (yet) have a replacement for
> pi-csd.
> 
> 	In case you're interested in helping me write this: the
> ColdSync version of pi-csd should be rather small and simple. For
> version 1, it should probably simply be a matter of ripping out the
> UDP parts of libpconn/PConnection_net.c into a standalone program that
> can be run from inetd.

Ok.. i will try to develop a simple "coldsync-csd" :)

>>        * Use only one linux user for multiple palms, in daemon mode 
>> (-md) there is no more ".palm" directory,  now this directory is created 
>> with the same name as the palm user name. So if we use the "coldsync" 
>> linux user, the directory structure will be /home/coldsync/<palm user 
>> name 1>/, /home/coldsync/<palm user name 2>/, etc.
> 
> 	It seems to me that this breaks one of the standard models. If
> you have a small network, it is reasonable for all of the users to
> have an account on all machines (including the sync server) and for
> everyone's home directory to be accessible from any machine on the
> network (including the sync server).
> 	In this model, I can either run ColdSync by hand and sync with
> ~arensb/.palm/ , or I can walk over to your office, put my Palm in
> your cradle, and push the HotSync button. Either your machine handles
> the sync itself, or else it forwards the connection to the main sync
> server; in any case, my Palm winds up syncing with ~arensb/.palm/ .

I'm not using coldsync for local syncs, i have "agents" in the streets 
in several cities equiped with palms & modems. They sync to a central 
server trough internet connections, and the server administrator don't 
want to create a linux user per palm (security polices).

> 	What you want to do can be achieved by specifying the same
> Unix user ("coldsync") in /usr/local/etc/palms, and with multiple
> pda{} blocks in the config file (~coldsync/.coldsyncrc by default).
> These pda{} blocks can simply specify different directories for the
> different users.

I know that, but i am planing a web admin interface for add users to 
coldysnc, and with this little patch i will need to work at 
/usr/local/etc/palms file only ;)

Francisco


This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.