[Evolution] Automated Configuration of Evolution Accounts

JP Rosevear jpr@novell.com
Tue, 22 Feb 2005 08:55:07 -0500


On Tue, 2005-02-22 at 21:29 +0800, Murray Trainer wrote:
> Hi All,
> 
> I have managed to automate most of my Evolution account setup using
> gconftool-2 and sed.  My problem at the moment is the generation of the
> uid value in the account string shown below.
> 
> uid="1103529217.8931.0@vserver"
> 
> The first value appears to be the time the account was created in
> seconds since 1/1/1970 and can be obtained using date +"%s".  The last
> value is obviously the hostname the account was created on (should it be
> hostname@domain?).  I was wondering what the other values in the string
> are and how they are generated?

The uid just needs to be unique or a 1 in a trillion duplicate shot
anyhow.  The algorithm we use is iso time, pid, gid, ppid, a serial
number for the the program's run and the hostname.

-JP
-- 
JP Rosevear <jpr@novell.com>
Novell, Inc.