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

Re: [coldsync-hackers] Palm ID and username





>         This is one of the things I want ColdSync to support, so if you
> want to help with this, it will be much appreciated.
>
>         The way to do this is as follows:
>         - ColdSync runs as root, and listens on the serial port.
>         - It accepts a connection from the Palm.
>         - It reads the Palm's serial number and user information.
>         - It looks up this information in a file:
>                 /usr/local/etc/coldsync.users
>           This file contains entries like
>                 # Unix username | serial number | Palm username | Palm userid
>                 wog|10A813V96PC0-H|Wojtek|12345
>         - setuid("wog")
>         - Read ~wog/.coldsyncrc
>         - Sync
>         - Exit
>
> I'm still debating the exact contents and semantics of
> /usr/local/etc/coldsync.users . It should allow ColdSync to identify any
> Palm and do the right thing with it.
>         There are several things that it should be possible to specify:
>
>         - The Palm with serial number 10A813V96PC0-H, Palm user name
> "Wojtek" and Palm user ID 12345 belongs to local Unix user
> "wog". setuid("wog") and sync according to the configuration in
> ~wog/.coldsyncrc . This is the standard case.
>
>         - The Palm with serial number 10A813V96PC0-H, user name "Andrew
> Arensburger", and user ID "31337" belongs to local Unix user "arensb". His
> workstation is arensbpc.my.domain.com, so forward the connection to
> arensbpc.my.domain.com .
>
>         - This host is a sync server. setuid("coldsync") for all
> Palms. Sync wog's Palm with ~coldsync/wog, sync arensb's Palm with
> ~coldsync/arensb, and so forth.
>
>         - This host doesn't do anything. For all Palms, forward the
> connection to syncserver.my.domain.com, and let the server deal with it.
>
>         Any thoughts? Suggestions?

Good idea.I don't see the better way of doing this.
Very ambitious.

But, right now I have to synchronize many palms with many directories.The only
way i can handle this is to know few things from Palm (user name or flashID)
before running any conduits to decide which directory sync with.
I'd like to do this such way that palm users only have to do is to put device in
the cradle and press button.

Tell me one thing - can coldsync leave me any information about Palm,that I
would be able to use when runnig Fetch conduits.
Maybe: export PALMUSERNAME=xxxxxx.   ?

Thanks in advance.


-- 
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.