[turba] Missing address books in Turba 2.1.2

fabricio bianco abreu fabricio at tc.df.gov.br
Tue Oct 10 12:56:23 PDT 2006


Quoting Mike Rubinsk

> Read docs/UPGRADING.  Your sources.php is out of date.

I have read docs/UPGRADING. My sources.php was built based on sources.php.dist.
I have modified "localldap" to suit my ldap server.

Would you please be more specific?

Here is my sources.php:
<?php
$cfgSources['localsql'] = array(
    'title' => _("Meu Catálogo de Endereços"),
    'type' => 'sql',
    'params' => array_merge($conf['sql'], array('table' => 'turba_objects')),
    'map' => array(
        '__key' => 'object_id',
        '__owner' => 'owner_id',
        '__type' => 'object_type',
        '__members' => 'object_members',
        '__uid' => 'object_uid',
        'name' => 'object_name',
        'email' => 'object_email',
        'alias' => 'object_alias',
        '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',
        'pgpPublicKey' => 'object_pgppublickey',
        'smimePublicKey' => 'object_smimepublickey',
        'freebusyUrl' => 'object_freebusyurl'
    ),
    'search' => array(
        'name',
        'email'
    ),
    'strict' => array(
        'object_id',
        'owner_id',
        'object_type',
    ),
    'export' => true,
    'browse' => true,
    'use_shares' => false
);
if (Util::extensionExists('ldap')) {
$cfgSources['localldap'] = array(
    'title' => _("Tribunal de Contas do DF"),
    'type' => 'ldap',
    'params' => array(
        'server' => 'marte2.tcdf.net',
        'port' => 389,
        'tls' => false,
        'root' => 'ou=Users,dc=tcdf,dc=net',
        'bind_dn' => 'cn=admin,dc=tcdf,dc=net',
        'bind_password' => '***********',
        'sizelimit' => 2000,
        'dn' => array('cn'),
        'filter' => 'mail=*',
        'objectclass' => array('top','inetOrgPerson','posixAccount'),
        'scope' => 'one',
        'charset' => 'iso-8859-1',
        'checkrequired' => false,
        'checkrequired_string' => ' ',
        'checksyntax' => false,
        'version' => 3
    ),
    'map' => array(
        '__key' => 'dn',
        '__uid' => 'uid',
        'name' => 'cn',
        'email' => 'mail'
    ),
    'search' => array(
        'name',
        'email'
    ),
    'strict' => array(
        'dn',
    ),
    'export' => true,
    'browse' => true
);
// End LDAP check.
}

Quoting fabricio bianco abreu <fabricio at tc.df.gov.br>:

>
> Hi folks,
>
> I am trying to migrate an old horde system instalation (Horde: 2.2.3, IMP:
> 3.2.1. Turba: 1.2, Kronolith: 1.1, Nag: 1.1) to a brand new server, runnig
> current horde applications:
>
> # Horde: 3.1.3
> # Imp: H3 (4.1.3) (run Imp tests)
> # Ingo: H3 (1.1.1) (run Ingo tests)
> # Passwd: H3 (3.0) (run Passwd tests)
> # Turba: H3 (2.1.2)
>
> I am having trouble to set up TURBA.
>
> In the previous incarnation of Turba (1.2) I had a global address  
> book on ldap
> and personal address books on mysql. Each user could access (read) the global
> address book and access/administrate his personal address book.
>
> I had the old mysql database migrated ("mysql --user=root
> --password=<MySQL-root-password> <db name> < 1.2_to_2.0.sql") and have set up
> Horde 3.1.3 and Turba 2.1.2 accordingly.
>
> I'm affraid I missed something configuring Turba 2.1.2 because it is behaving
> awkwardly.
>





More information about the turba mailing list