[Fedora-directory-users] question on ldapsearching
hyc at symas.com
Sat May 17 16:11:45 UTC 2008
> Date: Fri, 16 May 2008 10:06:38 -0600
> From: Rich Megginson<rmeggins at redhat.com>
> 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.
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/
More information about the 389-users