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

RE: Best way to manage multiple accounts



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of adp

> Well, let me give a common scenario: A person has two email
> accounts. This
> does happen. Now one solution would be to require that the
> user lose one
> account. However, there may be political issues with that, so
> the second
> solution is to support two accounts for that one user. How do
> others handle
> this?
>
> My thoughts right now are to have a People ou that has one
> entry per person.
> I then have an Accounts ou that has may have multiple accounts for one
> Person. I'm thinking I can have an attribute such as
> accountBelongsTo: that
> maps me to the right Person entry in People so that I can
> always determine
> which accounts belong to which people.
>
> Yes, I totally agree, everyone needs to design what works
> best for them. But
> it's only prudent to ask around first because someone else
> may have come up
> with a great solution already. :)

> Yes, this is the approach we use in Symas Connexitor EMS except we organize
it the other way; a Person object has a multivalued Accounts attribute
listing the DNs of all the accounts owned by that person. Obviously you can
go both ways and set an Owner attribute in each Account, and use a
referential integrity mechanism to keep both attributes in sync.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support