[turba] source of turba_objects.owner_id value

Michael Rubinsky mrubinsk at horde.org
Sat Feb 14 01:34:39 UTC 2009


Quoting Christopher Hunt <chunt at reachone.com>:

> I'm planning on disabling the use of GAB (Global Address Books).   
> This seems to prevent users from seeing any address book other than  
> "theirs".  I assume "theirs" is the one where the value of  
> turba_objects.owner_id equals their login, or in this case, their  
> email address.  How can I find how many users have multiple address  
> books and if possible, to merge them into "theirs" which will be the  
> only one left soon?
>
> I've tried to correlate the value of turba_objects.owner_id to a  
> turba_objects.object_id or to a horde_users.user_uid but I've been  
> unsuccessful.
>
> Where does the vale of turba_objects.owner_id come from and how can  
> I correlate it with a login?
>
> I'm using horde-3.1.3 with turba-h3-2.1.2

Well, that's a fairly old Turba install - one of the first that  
supported shared address books.  The storage has changed since then,  
and I don't really remember exactly what was stored where - I think  
that when using shared address books in that version, the "owner" of  
the address book (owner_id) is the share name of the share that  
represents it....and in that version of turba, you would be using the  
datatree to store the shares. The share name would be a long md5  
hash-looking string.

You could probably look at some of the turba upgrade scripts in more  
recent versions for an idea of how to get lists of turba shares for  
each user etc...


Hope this helps.

Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/turba/attachments/20090213/adf24ea7/attachment.bin>


More information about the turba mailing list