problem with a few attributes

Terry Davis tdavis@birddog.com
Wed, 19 Sep 2001 21:13:11 -0500


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/