[turba] Turba and public addressbook

nmollring at cennecs.org nmollring at cennecs.org
Wed May 21 07:45:56 PDT 2003



> I have installed Horde 2.2.3 and Turba 1.2.
> Most things seeme to work, but now i have made a public addressbook like
> this
> in sources.php:
>
> $cfgSources['localsqlpublic'] = array(
>     'title' => 'Public Addressbook',
>     'type' => 'sql',
>     'params' => array(
>         'phptype' => 'mysql',
>         'hostspec' => 'localhost',
>         'username' => 'horde',
>         'password' => 'horde',
>         'database' => 'horde',
>         'table' => 'turba_shared_objects'
>     ),
>     'map' => array(
>         '__key' => 'object_id',
>         '__owner' => 'owner_id',
>         '__type' => 'object_type',
>         '__members' => 'object_members',
>         'name' => 'object_name',
>         'email' => 'object_email',
>         'homeAddress' => 'object_homeaddress',
>         'workAddress' => 'object_workaddress',
>         'homePhone' => 'object_homephone',
>         'workPhone' => 'object_workphone',
>         'cellPhone' => 'object_cellphone',
>         'fax' => 'object_fax',
>         'title' => 'object_title',
>         'company' => 'object_company',
>         'notes' => 'object_notes'
>     ),
>     'search' => array(
>         'name',
>         'email'
>     ),
>     'strict' => array(
>         'object_id'
>     ),
>     'public' => true,
>     'readonly' => true,
>     'admin' => array('toomas'),
>     'export' => true
> );
>
> And ofcource supporting table on Horde db. User toomas is the one i log into
> Horde (which authenticates to imap).
> Should i be able to add/remove/edit information in that spesific
> addressbook?

Maybe it will work.  You might have to use array('toomas at yourserver') formatted
like your email address.
Nate


More information about the turba mailing list