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

Re: Search issue (objectclass=person) (Possible dupe email)



Howard Chu wrote:
> Michael StrÃder wrote:
>> Tuc wrote:
>>> Is there some way I can modify the query to only get ones that would look
>>> like :
>>>
>>> dn: uid=tuc,ou=People,dc=example,dc=com
>>> objectClass: radiusprofile
>>> objectClass: pwmUser
>>> objectClass: top
>>> VVVVVVVVVVVVVVVVVVV
>>> objectClass: person
>>> ^^^^^^^^^^^^^^^^^^^
>>> objectClass: posixAccount
>>> objectClass: organizationalPerson
>>> objectClass: inetOrgPerson
>>
>> I think there's a misunderstanding on your side:
>> If an entry has 'inetOrgPerson' as its structural object class it also has
>> object classes 'organizationalPerson' and 'person' no matter whether those
>> attributes values were added to attribute 'objectClass'.
> 
> But you could, of course, filter on
> (&(objectclass=person)(!(objectclass=inetorgperson))) if you wanted.

Yes, but you won't get results for

(&(objectclass=inetorgperson)(!(objectclass=person)))

I'm not sure what the original poster really wants though.
The cited text above is not really clear on that.

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature