[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: filtering the search



Xavier FOSSOUO wrote:

> Hi,
>
> When i do a search into my LDAP server using my navigator (if i type for
> example  ldap://ldap/o=auf, c=CM??sub  into the address area of my
> navigator), i obtain in the result, some informations that I don't need
> (for exemple, "Classe d'objet    person").
> Does someone know a way to filter the search's result  and dispalay just
> the informations we want?

An ldap url is made of:

ldap[s]://[host[:port]]/<naming context>[?<comma separated attr
list>[?<scope>[?<filter>]]]

e.g.

ldap://ldap/o=auf, c=CM?cn,sn,uid?sub?cn=xavier*

See:

       An LDAP URL Format, Tim Howes  and  Mark  Smith,  December
       1995.   Internet  Draft  (work  in  progress).   Currently
       available at this URL:

ftp://ds.internic.net/internet-drafts/draft-ietf-asid-ldap-format-03.txt

or simply ldap_url(3)

Pierangelo


--
Dr. Pierangelo Masarati               | voice: +39 02 2399 8365
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 | mailto:masarati@aero.polimi.it
via La Masa 34, 20156 Milano, Italy   | http://www.aero.polimi.it/~masarati