[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Palm ID and username
On Thu, 28 Dec 2000, Wojtek wrote:
> I'm trying to build a conduit for syncing many Palms with many directories.
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?
--
Andrew Arensburger Actually, these _do_ represent the
arensb@ooblick.com opinions of ooblick.com!
Generic Tagline V 6.01
--
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.