Re: question on ldapsearching

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

 



Date: Fri, 16 May 2008 10:06:38 -0600
From: Rich Megginson<rmeggins@xxxxxxxxxx>

Aaron Bliss wrote:
Hi everyone,
I'm looking to do an ldapsearch and to display only a subset of the
objectclasses and attributes that a list of user has.  For example,
I'm only interested in seeing the top, person and organizatoinPerson
objectclasses and their cn, dn and sn attributes.  Any ideas?  Thanks.
for the cn dn and sn, that's easy;
ldapsearch .... "(uid=someperson)" cn dn sn

For specific objectclass values, I don't think that's possible.
Aaron

Well, there's RFC3876 for specifying a values return filter, to get only the desired values. OpenLDAP supports this, anyway.

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux