[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
labeledURI search result objectClass restriction
- To: openldap-technical@openldap.org
- Subject: labeledURI search result objectClass restriction
- From: Torsten Rehn <torsten@rehn.tel>
- Date: Wed, 02 Sep 2009 16:00:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=4cRVtsfqPmYxutSbhIGMpaaBUEZpDQzF0qQA20+Kg1o=; b=msuBmmZHInoW4b06nrEdiUP7rrUc0NltjerxhQpK3jlPKYWQO6s8OXGpy79Yquy2mJ /MMstS+S3AjRRzPqoIXpzg8pR87c1sfGqKvxQRP5qE3TNYNwwhRk3Lr/uCtr7EqAgZ8L /uczRqicGE2TtyolKp8Av3GMvT9TXW6DCa0gA=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=X0LFlZ1WTHsgFLwipANjsXl6VO8yTe3lk4uG8Q0k7flMH9uFGewG5YMBaFgWwM7oab W4ksKEknze56iHNSXPcsR52b7p4VXe+jYUh4bLsTgN+h2GNLPqkCXpisFuC/XBa7QRpX gIQPbkvzxq/8lnfYUDWnzohYydHpcLjTsR1qQ=
- User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3
Hi,
it appears that a search triggered from a labeledURIObjects search URI
can't have any results that are the same objectClass as the triggering
object.
I had one groupOfNames that was looking for other groups to be added as
members. Debugging told me OpenLDAP came up with this when doing the
internal search:
put_filter: "(&(!(objectClass=groupOfNames))(objectClass=groupOfNames))"
while I had of course specified only (objectClass=groupOfNames) as a filter.
Can anyone please explain this behavior and/or provide a workaround?
Thanks,
--
Torsten Rehn