[turba] problem with address books

Lizbeth Ortiz icozu at yahoo.com
Wed Feb 16 14:49:33 PST 2005


Hi

Im using turba 1.2.2 , i have 2 address books, one
personal address book (local) on mysql, and one
shared address book (external) on ldap.
 
When i've configured turba, i've seen the address
books
separates, but yesterday i don't know what happend,
because when i open my personal address book i see my
contacts and the contacts of the shared address books
and vicevers.

I've looked at the log, but doesn't exist nothing
abnormal.

My source.php of turba is the next:
 
 /**
  * A local address book in an SQL database. This
 implements a per-user
  * address book.
  *
  * Be sure to create a turba_objects table in your
 Horde database
  * from the schema in
 turba/scripts/drivers/turba.sql
 if you use
  * this source.
  */
 $cfgSources['localsql'] = array(
     'title' => 'My Addressbook',
     'type' => 'sql',
     'params' => array(
         'phptype' => 'mysql',
         'hostspec' => 'localhost',
         'username' => 'user',
         'password' => 'xxx',
         'database' => 'horde',
         'table' => 'turba_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' => false,
     'readonly' => false,
     'admin' => array(),
     'export' => true
 );
 
 /**
  * A local address book in an LDAP directory. This
 implements a public
  * (shared) address book.
  */
 $cfgSources['localldap'] = array(
     'title' => 'Shared Directory',
     'type' => 'ldap',
     'params' => array(
         'server' => 'xxxx.com',
         'port' => 389,
         'root' => 'ou=People,dc=com',
 //        'bind_dn' =>
 'cn=admin,ou=users,dc=example,dc=com',
 //        'bind_password' => '********',
         'dn' => array('cn'),
         'objectclass' => 'person',
         'version' => 3
     ),
     'map' => array(
         '__key' => 'dn',
 
 'name' => 'cn',
         'email' => 'mail',
         'homePhone' => 'homephone',
         'workPhone' => 'telephonenumber',
         'cellPhone' => 'mobiletelephonenumber',
         'homeAddress' => 'homepostaladdress'
     ),
     'search' => array(
         'name',
         'email',
         'homePhone',
         'workPhone',
         'cellPhone',
         'homeAddress'
     ),
     'strict' => array(
         'dn'
     ),
     'public' => true,
     'readonly' => true,
     'admin' => array()
     'export' => true
 );
 
Thanks :-O

_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com


More information about the turba mailing list