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

Re: Difference between ldap searches

On 05.08.2013 15:24, radiatejava wrote:
> I am trying to understand the difference between these 2 ldap
> searches, can anyone explain ?
> ldapsearch --hostname localhost --baseDN "ou=Groups,dc=example,dc=com"
> "(objectclass=*)" @groupOfUniqueNames
> ldapsearch --hostname localhost --baseDN "ou=Groups,dc=example,dc=com"
> "(objectclass=groupOfUniqueNames)"
> What do we primarily mean by using @<objectclass> format ?
> Thanks


@<objectClass> is a stand in for all the attributes the object class

The first search returns everything under baseDN but only shows
attributes that are part of the groupOfUniqueNames object class on the
returned objects.

The second one only returns objects with the groupOfUniqueNames object
class under baseDN with all their (non-operative) attributes.

Christian Manal