GreenDragon
GreenDragon

Reputation: 43

Feasibility with LDAP

I use OpenLDAP on windows with Apache Directory Studio, and I try to set up a LDAP database that should represent hierarchically data as follow:

In order to retrieve:

  1. the list of applications for a specified user
  2. the list of companies for a specified user and a specified application

Do you know if it is realisable with OpenLDAP (the database creation and the searches)?

Upvotes: 0

Views: 58

Answers (2)

jwilleke
jwilleke

Reputation: 10976

Best practice is to use a nearly Flat directory structure. Complex structures change and reorganization can be very difficult.

A multi-valued attributes for company and applicaitons would probably work.

-jim

Upvotes: 1

JPBlanc
JPBlanc

Reputation: 72612

Can you create such a model using LDAP? The answer is yes, and you can do it in multiple ways (hierachical, flat with réferences etc.).

But the thing you must understand is that LDAP is a directory not a Database :

  • You can modify the base Schema to add your classes and attributs, but you do not create tables with records.
  • It's operational, for data you are going to look for, but not for data that you will change a lot.

Upvotes: 1

Related Questions