Tags:
create new tag
, view all tags

Question

Please, could someone explain to me how is possible handle multiple results from one atribute from ldap filter?

I have multiple records in mail attribute and i want format this result into table looks like this:

Login Email
fooo email1
  email2
  email3

I'm try to study FormattedSearch and passed any variations of parameters into result but without success frown and nested searches is too hard to understand (maybe i'm a lame, but i try to understand).

I have latest development version of LdapPlugin from 14 Jan 2004.

Thanks for any responses.

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: LdapPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  

-- TiborPittich - 23 Jan 2004

Answer

Not Sure if this is usefull as the question is old but.

%LDAP{host="your host" base="your base" filter="your filter" header="|*Login*|*Name*|" format="|$cn |$mail|" order="$cn"}%

Topic revision: r3 - 2005-07-13 - NickSuckling
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.