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

Re: Directory layout help



Hung Luu <hung.n.luu@gmail.com> writes:

> 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.

Create dynamic groups or dynamic lists, man slapo-dynlist(5).

-Dieter

-- 
Dieter Klünter | Systemberatung
http://dkluenter.de
GPG Key ID:8EF7B6C6
53°37'09,95"N
10°08'02,42"E