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

Re: ldapsearch question



De Leeuw Guy writes:
> How ca I search a dn ?

You don't.  You specify it as baseobject.  If you don't need a filter,
use "(objectclass=*)" which matches all objects.

> I try : ldapsearch -b "o=Eurofer, c=be" -s sub "dn=cn=LastName FirstName,
> o=Eurofer, c=be"

ldapsearch -b "cn=LastName FirstName,o=Eurofer,c=be" -s base "(objectclass=*)"

-- 
Hallvard