[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Directory layout help
- To: openldap-technical@openldap.org
- Subject: Directory layout help
- From: Hung Luu <hung.n.luu@gmail.com>
- Date: Sat, 9 Jan 2010 12:52:44 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=FuqzHtw5ZJjdzXEjhKtY/AsxhGXjfDnLkjo7KqoizJI=; b=YEizOGksJonK2LtnNPwvEPWAHL8jZHTXed7izgYXUPTtlkpgIiVuCbRx+3jQNFGRS2 +UdmAPlaFIKMD90s9aH5gem6m11IcQhn+AIPMriQ1qf5EM/AJLBHTnvPE/KuW9CV2Led A2tEnFB2azH7pqXBity53iRA2Lse2ujsTsXFk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=eoeFUnUhYRg8BwzCJVER/ksq4FPfD7VUx0YjDyLfQXr9FawbvYjAbM/9cbAzpUHDdg Z2J2AxlOzzSuyeOSJum30wDMt/3MA8MpRhKAFk1uLM4lAAbvz+22wQWehDFZrPJwcgDf UnsizuCQK9gD+Nqq9VvJxWRXDK0vzCqlJ+J3E=
Hello,
Suppose I have the following DN's:
inetOrgPerson:
[uid=alice,dc=example,dc=com]
organizationalRole:
[cn=manager,ou=groups,dc=example,dc=com]
[cn=supervisor,ou=groups,dc=example,dc=com]
locality:
[l=phoenix,ou=division,dc=example,dc=com]
[l=portland,ou=division,dc=example,dc=com]
How can I store in my directory the fact that Alice is a manger at the Phoenix division, but she is only a supervisor at the Portland division? I know group membership is involved here, but what's the best way to represent that group membership to optimize searches such as: Return all the people with a specific role at a specific locality, or return all the roles and localities for a person.
-Hung.