[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Filter on higher rdn and read lower rdn attributes
- To: openldap-technical@openldap.org
- Subject: Filter on higher rdn and read lower rdn attributes
- From: "S.A." <qmt9z3@yahoo.com>
- Date: Fri, 17 Sep 2010 13:48:40 -0700 (PDT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1284756521; bh=rjBnz+Ex91Zb+BRdco90jGqxDOhrmZAGWU/YCEbf84M=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=p5LNI8twnsyxeMLJwzK3/ky1nhEk9EBMZ0nytZrJ0awJKTcrUMBNEt3cBwuXftCLTNOFpOKpY4OmAvv8cuTX+cWU3/eOiYdQGztHAoeosga7aN60z7owpKc6GRMRxhf6Mp+bilLlquKdbK1nACwJC9up+wUy7wPa8A/TEopyKqw=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=A8E7y30Xw96GqLKF4TIpD01baCXxTn2y6lSoS0h6HkyXRdKmcJW1FqopWpGNQdxK4YW2sytjGPqp6ifenhuGDTL7w7W1EIPglxmBodFb3qqiu4YGpGPc6ZDwO4tNnjygcp9qrynV8vYRbHKXCKqDYLLsfSSuUHAIk9ebVQhm+5o=;
Hello,
I have a question regarding the construction of search filter
(assuming that what I think is possible in LDAP).
For a tree shown like below:
o dc=com
|
o dc=xyz
/ | | \
ou=machines o . . . . . o ou=people
/ | \
uid=abby o . . o ou=xie <- OC1
/
ou=options o <- OC2
/
ou=theme1 o <- OC3
OC1 != OC2 != OC3 (objectclasses with different set of attributes)
Assume that at uid=<name> rdn, the objectclass (OC1) has an attribute
called accessFlag. Based on this accessFlag attribute value, is it
possible to construct a search filter that will give us the attributes
of the objectclass (OC3) with rdn ou=<theme name>?
That is, I want to get the theme values of all users whose accessFlag
is set to some value.
Thank you!