[turba] workNumber not displaying LDAP search

John P Reber John.P.Reber at mail.jci.tju.edu
Mon Dec 16 14:26:00 PST 2002


Quoting eculp@encontacto.net:

> Quoting John P Reber <John.P.Reber@mail.jci.tju.edu>:
> 
>  | Quoting eculp@encontacto.net:
>  | 
>  | > Quoting John P Reber <John.P.Reber@mail.jci.tju.edu>:
>  | >
>  | >  |
>  | >  | I was able to select the 'Work Phone' from within columns to
> display
>  | >  |
>  | >  | I have selected to see email and workphone number
>  | >  |
>  | >  | When I do a search I see the email address, but the work phone is
> left
>  | > blank
>  | >  |
>  | >
>  | > What do you have in the attributes.php file for
>  | >
>  | > $attributes['workphone'] = array(
>  | > /*          ^^^^^^^^^^^           */
>  | >     'type' => 'phone',
>  | >     'desc' => _("Work Phone")
>  | > );
>  | >
>  | 
>  | $attributes['workPhone'] = array(
>  |     'type' => 'phone',
>  |     'desc' => _("Work Phone")
>  | );
> 
> That is really strange.  It should work.  
> 
>  | 
>  | > Which correspondes to
>  | >
>  | >         'workphone' => 'telephonenumber',
>  | >          ^^^^^^^^^
>  | >
>  | > in my map() in conf.php


My problem turned out to be I spelled telephonenumber, telephoneNumber as the
output from ldapsearch showed. I made this all lowercase and problem is solved.


> 
>  | 
>  | Did you mean sources.php? 
> 
> duh!  of course.  I'm sorry.  More ginko and caffine please.
> 
> >From what I've seen, I don't have another idea and it's happened to me
> in the past but luckily it has almost always been a typo between
> sources.php
> and attributes.php.
> 
> Good luck,
> 
> ed
> 
>  | The only thing in my turba/config/conf.php the
>  | Import/Export display option and an entry about including links in the
> menu
>  | bar
>  | 
>  | >
>  | > That has happened to me many times.  I change one without the other.
>  | > IIRC, the above is case sensitive 'workphone' != 'workPhone' but I
>  | > could be wrong.
>  | >
>  | > ed
>  | >
>  | >
>  | > -------------------------------------------------
>  | >
>  | 
>  | thanks again
>  | 
>  | --
>  | Perdida, Alberg30 #456
>  | 
>  | -------------------------------------------------
>  | This mail sent through IMP: http://horde.org/imp/
>  | 
> 
> 
> -- 
> 
> 
> -------------------------------------------------
> 


-- 
Perdida, Alberg30 #456

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


More information about the turba mailing list