[turba] problem with a few attributes

Jan Schneider janmailing@gmx.de
Thu, 20 Sep 2001 11:05:52 +0200


Where? In the edit mode, in the display mode? Are you able to get these fields 
from ldap with a commandline tool? Is it for all records or only for some?

Jan.

Zitat von Terry Davis <tdavis@birddog.com>:

> Any ideas why 'workAddress','fax','workPhone' are not showing up?  The fields
> 
> are showing up but no values are being filled.   Thank you for any ideas!
> 
> 
> Here is my sources.php:
> $cfgSources['birddog-abook'] = array(
>     'title' => 'BirdDog Address Book',
>     'type' => 'ldap',
>     'params' => array(
>         'server' => 'ldap.birddog.com',
>         'port' => 389,
>         'root' => 'ou=People,dc=birddog,dc=com',
>         'dn' => array('cn'),
>         'objectclass' => 'person',
>         'objectclass' => 'organizationalPerson',
>         'objectclass' => 'inetOrgPerson',
>         'objectclass' => 'inetLocalMailRecipient',
>         'objectclass' => 'account',
>         'objectclass' => 'top',
>         'filter' => ''
>     ),
>     'map' => array(
>         '__key' => 'dn',
>         'name' => 'cn',
>         'email' => 'mail',
>         'title' => 'title',
>         'workPhone' => 'telephoneNumber',
>         'cellPhone' => 'mobile',
>         'fax' => 'facsimileTelephoneNumber',
>         'workAddress' => 'postalAddress'
>     ),
>     'public' => true,
>     'readonly' => true
> );
> 
> 
> And here is my attributes.php:
> <?php
> 
> $attributes['name'] = array(
>     'type' => 'text',
>     'desc' => _("Name")
> );
> $attributes['fname'] = array(
>     'type' => 'text',
>     'desc' => _("First Name")
> );
> $attributes['lname'] = array(
>     'type' => 'text',
>     'desc' => _("Last Name")
> );
> $attributes['alias'] = array(
>     'type' => 'text',
>     'desc' => _("Alias")
> );
> $attributes['email'] = array(
>     'type' => 'email',
>     'desc' => _("Email")
> );
> $attributes['title'] = array(
>     'type' => 'text',
>     'desc' => _("Title")
> );
> $attributes['company'] = array(
>     'type' => 'text',
>     'desc' => _("Company")
> );
> $attributes['homeAddress'] = array(
>     'type' => 'multiline',
>     'desc' => _("Home Address")
> );
> $attributes['workAddress'] = array(
>     'type' => 'multiline',
>     'desc' => _("Work Address")
> );
> $attributes['homePhone'] = array(
>     'type' => 'phone',
>     'desc' => _("Home Phone")
> );
> $attributes['workPhone'] = array(
>     'type' => 'phone',
>     'desc' => _("Work Phone")
> );
> $attributes['cellPhone'] = array(
>     'type' => 'phone',
>     'desc' => _("Mobile Phone")
> );
> $attributes['fax'] = array(
>     'type' => 'phone',
>     'desc' => _("Fax")
> );
> $attributes['notes'] = array(
>     'type' => 'multiline',
>     'desc' => _("Notes")
> );
> 
> ?>
> -- 
> Terry Davis
> Systems Administrator
> BirdDog Solutions, Inc.
> (402) 829-6059
> 
> 
> 
> 
> 
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
> 
> 
> -- 
> Turba mailing list: http://horde.org/turba/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe@lists.horde.org
> 
> 


:::::::::::::::::::::::::::::::::::::::: 
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::