[turba] Fwd: RE: Copy::from::ldap::to::My_Address_Book::problem

Jan Schneider jan at horde.org
Mon Jun 8 12:26:53 UTC 2009



----- Weitergeleitete Nachricht von idcommunication at hotmail.com -----
     Datum: Mon, 8 Jun 2009 14:18:16 +0200
       Von: Rafael Berez <idcommunication at hotmail.com>
   Betreff: RE: [turba] Copy::from::ldap::to::My_Address_Book::problem
        An: jan at horde.org

Hey,

thank's for reply...

the mapping for the sql addressbook is:

$cfgSources['localsql'] = array(
    'title' => _("My Address Book"),
    'type' => 'sql',
(...)
 'map' => array(
        '__key' => 'object_id',
        '__owner' => 'owner_id',
        '__type' => 'object_type',
        '__members' => 'object_members',
        '__uid' => 'object_uid',
        'firstname' => 'object_firstname',
        'lastname' => 'object_lastname',
        'middlenames' => 'object_middlenames',
        'namePrefix' => 'object_nameprefix',
        'nameSuffix' => 'object_namesuffix',
        'name' => array('fields' => array('firstname', 'lastname'),
                         'format' => '%s %s'),
        'alias' => 'object_alias',
        'birthday' => 'object_bday',
(...)

and for the ldap addressbook it is:

$cfgSources['unibe'] = array(
     'title' => _("blahblah"),
     'type' => 'ldap',
(...)
    'map' => array(
         '__key' => 'dn',
         'name' => 'cn',
         'email' => 'mail'),
(...)

ok, now i did some changes and it works fine:

sql addressbook : no changes.

ldap addressbook:
(...)
     'map' => array(
         '__key' => 'dn',
         'name' => 'cn',
         'firstname' => 'givenName',
         'lastname' => 'sn',
         'email' => 'mail'
),
(...)

should be ok, what do you think?

greetings

Rafael

> Date: Sun, 7 Jun 2009 11:12:58 +0200
> From: jan at horde.org
> To: turba at lists.horde.org
> Subject: Re: [turba] Copy::from::ldap::to::My_Address_Book::problem
> 
> Zitat von Rafael Berez <idcommunication at hotmail.com>:
> 
> >
> > Hello list,
> >
> > we upgraded from turba 2.1 to turba 2.3.
> >
> > if we copy a contact from the ldap addressbook to the 'My Address Book'(sql)
> > it actually adds the contact to the 'My Address Book' BUT with  
> > 'Blank name' in the name column.
> > we did the upgrade like descibed in turba/docs/UPGRADING.
> >
> > any hint how to fix that?
> 
> How are the several name (parts) mapped for those sources in  
> config/sources.php?
> 
> Jan.
> 
> -- 
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/

-------------------------
check out the rest of the Windows Live™.More than mail–Windows Live™ goes way beyond your inbox. More than messages

----- Ende der weitergeleiteten Nachricht -----

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.horde.org/archives/turba/attachments/20090608/4133ba2c/attachment.bin>


More information about the turba mailing list