[turba] Problem getting LDAP shared addressbook to work correctly

amith at xalan.com amith at xalan.com
Wed Jun 4 07:06:16 PDT 2003


make all the attribute names in sources.php and attributes.php lowercase.  for
some reason PHP has a problem with mixed case attribute names

Amith

Quoting Anders Bruun Olsen <anders at bruun-olsen.net>:

| On Wed, Jun 04, 2003 at 09:31:32AM -0400, amith at xalan.com wrote:
| > What do you have in attributes.php?
|
| $attributes['name'] = array(
|     'type' => 'text',
|     'desc' => _("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")
| );
|
|
| --
| Anders
| -----BEGIN GEEK CODE BLOCK-----
| Version: 3.12
| GCS/O d--@ s:+ a-- C++ $UL+++ P++ L+++ E- W+ N(+) o K? w O- M-- V
| PS+ PE@ Y+ PGP+ t 5 X R+ tv+ b+ DI+++ D+ G e- h !r y?
| ------END GEEK CODE BLOCK------
| PGPKey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8BFECB41
|





More information about the turba mailing list