> Hi all
>
> "Squirrelmail : Addressbook" pop-up window has default columns
>
> "Name", "E-Mail", and "Info"
>
> I'm retrieving addressbook column data from an LDAP backend, and am
> wondering which file/lines to edit to switch the "Info" column
> so that the
> telephoneNumber attribute is returned instead of the "o="
> (organization)
> attribute.

file functions/abook_ldap_server.php
 function search

you need to change
if[!empty($row['ou']) {
   $label = something
....
}

looks like currently ldap backend retrieves phonenumber, but address book
frontend does not expect such information.

or use ldapquery plugin.
http://article.gmane.org/gmane.mail.squirrelmail.plugins/5265/match=ldapquery

-- 
Tomas


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to