[turba] LDAP Attributes Not All Displayed
eculp at encontacto.net
eculp at encontacto.net
Wed Jan 15 05:26:21 PST 2003
Quoting "Gary C. New" <garycnew at yahoo.com>:
| This is a follow up to my previous message on the same
| subject.
|
| I've been trying to track down the problem with not
| all turba contact attributes being displayed from its
| ldap directory source.
Gary,
I have over 20 attributes that are displayed and can be edited in turba.
The issue is usually between your horde/turba/config sources.php and
attributes.php. They must be exactly the same - spelling, case, etc.
I have put the maping from one of my addressbooks into a file with
the left column being attributes.php and the right from sources.php.
Hopefully this will make it a bit easier to see.
I hope this helps.
ed
The file is attached. The fields are tab separated so you may want to
open it in an editor that respects tabs. :-)
-------------------------------------------------
-------------- next part --------------
FROM FROM
attributes.php sources.php
------------------------------------------------------------------------------
'name' => 'cn', $attributes['name'] = array(
'type' => 'text',
'desc' => _("Name")
);
$attributes['alias'] = array( 'alias' => 'givenname',
'type' => 'text',
'desc' => _("Nick or firstname")
);
$attributes['sirname'] = array( 'sirname' => 'sn',
'type' => 'text',
'desc' => _("Last Name")
);
$attributes['email'] = array( 'email' => 'mail',
'type' => 'email',
'desc' => _("Email")
);
$attributes['title'] = array( 'title' => 'title',
'type' => 'text',
'desc' => _("Title")
);
$attributes['company'] = array( 'company' => 'o',
'type' => 'text',
'desc' => _("Company")
);
$attributes['businesscategory'] = array( 'businesscategory' => 'businesscategory',
'type' => 'text',
'desc' => _("businessCategory")
);
$attributes['streetaddress'] = array( 'streetaddress' => 'street',
'type' => 'multiline',
'desc' => _("Company Street Address")
);
$attributes['companyaddress'] = array( 'companyaddress' => 'postaladdress',
'type' => 'multiline',
'desc' => _("Company Postal Address")
);
$attributes['city'] = array( 'city' => 'l',
'type' => 'text',
'desc' => _("City")
);
$attributes['state'] = array( 'state' => 'st',
'type' => 'text',
'desc' => _("State")
);
$attributes['zip'] = array( 'zip' => 'postalcode',
'type' => 'text',
'desc' => _("Zip Code")
);
$attributes['workphone'] = array( 'workphone' => 'telephonenumber',
'type' => 'phone',
'desc' => _("Work Phone")
);
$attributes['fax'] = array( 'fax' => 'facsimiletelephonenumber',
'type' => 'phone',
'desc' => _("Fax")
);
$attributes['homeaddress'] = array( 'homeaddress' => 'homepostaladdress',
'type' => 'multiline',
'desc' => _("Home Address")
);
$attributes['homephone'] = array( 'homephone' => 'homephone',
'type' => 'phone',
'desc' => _("Home Phone")
);
$attributes['cellphone'] = array( 'cellphone' => 'mobile',
'type' => 'phone',
'desc' => _("Cell Phone")
);
$attributes['othermailbox'] = array( 'othermailbox' => 'othermailbox',
'type' => 'email',
'desc' => _("Other email")
);
$attributes['notes'] = array( 'notes' => 'description',
'type' => 'multiline',
'desc' => _("Notes")
);
$attributes['pgpPublicKey'] = array( 'pgpPublicKey' => 'pgppublickey',
'type' => 'multiline',
'desc' => _("PGP Public Key")
);
$attributes['smimePublicKey'] = array( 'smimePublicKey' => 'smimepublickey',
'type' => 'pkcs7cert',
'desc' => _("S/MIME Public Certificate")
);
$attributes['freebusyUrl'] = array( 'freebusyUrl' => 'object_freebusyurl'
'type' => 'text',
'desc' => _("Freebusy URL")
);
More information about the turba
mailing list