[horde] Broken Turba CVS Implementation !
Komputnik
komputnik at gmail.com
Tue Jun 12 16:45:43 UTC 2007
Hello list,
yesterday i wanted to upgrade to the new cvs release (which should be
stable in a few days - horde anouncement) of horde to use kolab 2 in
a fully way.
After searching a lot in the cvs rep. i found some hints regarding
turba. There werde new patches which fixed quite al lot of errors using
the kolab driver but not all.
The sources.php is completely wrong, because of wrong search
declarations in the sources php. So i used my old one, which worked with
kolab. ( CVS version about 5 months ago).
Every tine i want to add a new user to the addressbook i get the error
undefined index full-name, given-name in turba/lib/Driver/kolab.php. So
the problem seems to be in Driver/kolab.php.
The new addressbook xml function doesn't seem to define the search
keywords defined in the source.php. Now i am completely confused,
because i defined all search pattern right.
De different Sources from the cvs and my version differ totally. So if
creating a new mail , the search in any adressbook (global and local)
doesn't work although the slapd results are good which i tested via
ldapsearch.
So, my question:"Is the turba/kolab implementation usable or not ?".
What can be done to define the right search keys, so that the kolab
driver is satisfied ?
Kind regards
Komputnik
My version of kolab/turba sources.php:
$cfgSources['kolab'] = array(
'title' => _("Contacts"),
'type' => 'kolab',
'params' => array(
'charset' => 'utf-8',
),
'map' => array(
'__key' => 'uid',
'name' => 'full-name',
'firstname' => 'given-name',
'lastname' => 'last-name',
'title' => 'job-title',
'company' => 'organization',
'notes' => 'body',
'website' => 'web-page',
'nickname' => 'nick-name',
//'email' => 'smtp-address',
'email' => 'emails',
'homeStreet' => 'home-street',
'homeCity' => 'home-locality',
'homeProvince' => 'home-region',
'homePostalCode' => 'home-postal-code',
'homeCountry' => 'home-country',
'workStreet' => 'business-street',
'workCity' => 'business-locality',
'workProvince' => 'business-region',
'workPostalCode' => 'business-postal-code',
'workCountry' => 'business-country',
'homePhone' => 'home1',
'workPhone' => 'business1',
'cellPhone' => 'mobile',
'fax' => 'businessfax',
),
'search' => array(
'name',
'firstname',
'lastname',
'email',
'title',
'company',
'homeStreet',
'homeCity',
'homeProvince',
'homePostalCode',
'homeCountry',
'workStreet',
'workCity',
'workProvince',
'workPostalCode',
'workCountry',
'homePhone',
'workPhone',
'cellPhone',
'fax',
'notes',
'website',
'nickname',
),
'strict' => array(
'uid',
),
'export' => true,
'browse' => true,
'use_shares' => true,
'shares_only' => true,
);
CVS version: (look at the wrong e-mail and addr- definitions: (not part
of the kolab driver):
$cfgSources['kolab'] = array(
'title' => _("Contacts"),
'type' => 'kolab',
'params' => array(
'charset' => 'utf-8',
),
'map' => array(
'__key' => 'uid',
'name' => 'full-name',
'firstname' => 'given-name',
'lastname' => 'last-name',
'title' => 'job-title',
'company' => 'organization',
'notes' => 'body',
'website' => 'web-page',
'nickname' => 'nick-name',
'emails' => 'emails',
'homePhone' => 'phone-home1',
'workPhone' => 'phone-business1',
'cellPhone' => 'phone-mobile',
'fax' => 'phone-businessfax',
'workStreet' => 'addr-business-street',
'workCity' => 'addr-business-locality',
'workProvince' => 'addr-business-region',
'workPostalCode' => 'addr-business-postal-code',
'workCountry' => 'addr-business-country',
'homeStreet' => 'addr-home-street',
'homeCity' => 'addr-home-locality',
'homeProvince' => 'addr-home-region',
'homePostalCode' => 'addr-home-postal-code',
'homeCountry' => 'addr-home-country',
),
'search' => array(
'name',
'firstname',
'lastname',
'emails',
'title',
'company',
'notes',
'homePhone',
'workPhone',
'cellPhone',
'fax',
'workStreet',
'workCity',
'workProvince',
'workPostalCode',
'workCountry',
'homeStreet',
'homeCity',
'homeProvince',
'homePostalCode',
'homeCountry',
'website',
'nickname'
),
'strict' => array(
'uid',
),
'export' => true,
'browse' => true,
'use_shares' => true,
'shares_only' => true,
);
More information about the horde
mailing list