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

Re: ldapsearch question





--On Monday, October 24, 2005 9:20 PM +0200 Mark Coetser <mark@thummb.com> wrote:

Hi Ppl

Is there a way to use ldapsearch to show all attributes related to a
specific objectClass for a specific user, so something along the lines of

ldapsearch -x -LLL -b "dc=domain,dc=co,dc=za" "(uid=joesoap)"

but to show only all attr related to inetOrgPerson objectclass, if that
makes any sense.

Yes, use an ANDed filter with the objectClass.

"(&(uid=joesoap)(objectclass=inetorgperson))"

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html