Adding info to LDAP address book

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've got the LDAP addressbook running with SM, and it runs damn fine! But, now I want to get one more piece of info out of LDAP and show it in the 'info' field of the addressbook. Can anyone help me with this ? I've already found the array with the LDAP variables that are queried, and I've added the variable that I want to show. The array (in abook_ldap_server.php ) looks like this:
$sret = @ldap_search($this->linkid, $this->basedn, $_expression_,
            array('dn', 'o', 'ou', 'sn', 'givenname', 'cn', 'mail', 'mobile'),
            0, $this->maxrows, $this->timeout);

As you can see, I've added the 'mobile' variable.
So, how can I get the mobile var to appear in the info field ? (I'm not quite a PHP programmer )
Any help is appreciated.

TIA,
Andy Kannberg



TV dinner still cooling?
Check out "Tonight's Picks" on Yahoo! TV.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux