Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4012768
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:17:19+00:00 2026-05-20T09:17:19+00:00

I want to learn how practical using an LDAP server (say AD) as a

  • 0

I want to learn how practical using an LDAP server (say AD) as a storage base. To be more clear; how much does it make sense using an LDAP server instead of using RDBMS to store data?

I can guess that most you might just say “it doesn’t” but there might be some reasons to make it meaningful (especially business wise);

A few points first;

  • Each table becomes a container entity and each row becomes a new entity as a child. Row entities contains attributes for columns. So you represent your data in this way. (This should be the most meaningful representation I think, suggestions are welcome)
  • So storing data like a DB server is possible but lack of FK and PK (not sure about PK) support is an issue. On the other hand it supports attribute (relates to a column) indexing (Not sure how efficient). So consistency of data is responsibility of the application layer.

Why would somebody do this ever?

  • Data that application uses/stores closely matches with the existing data in AD. (Users, Machines, Department Info etc.) (But still some customization is required to existing entity schema, and new schema definitions are needed for not very much related data.)
  • (I think strongest reason would be this: business related) Most mid-sized companies have very well configured AD servers (replicated, backed-up etc.) but they don’t have such DB setup (you can make comment to this as much as you want). Say when you sell your software which requires a DB setup to these companies, they must manage their DB setup; but if you say “you don’t need DB setup and management; you can just use existing AD”, it sounds appealing.

Obviously there are many disadvantages of giving up using DB, feel free to mention them but let’s assume they are acceptable. (I can mention more if question is not clear enough.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:17:19+00:00Added an answer on May 20, 2026 at 9:17 am

    LDAP is a terrible tool for maintaining most business data.

    Think about a typical one-to-many relationship – say, customer and orders. One customer has many orders.

    There is no good way to represent this data in an LDAP directory.

    You could try having a mock “foreign key” by making every entry of that given object class have a “foreign key” attribute, but your referential integrity just went out the window. Cascade deletes are impossible.

    You could try having a “customer” object that has “order” children. However, you’ve just introduced a specific hierachy – you’re now tied to it.

    And that’s the simplest use case. Once you start getting into more complex relationships, you’re basically re-inventing an RDBMS in a system explicity designed for a different purpose. The clue’s in the name – directory.

    If you’re storing a phonebook, then sure, use LDAP. For anything else, use a real database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to learn zend without using the zend tool. I've found some good
I want to learn to program in a UNIX/Linux environment. I'll be using the
is there url for learning cake bake command. for example i want learn acl
I want to learn and work with initialize.php so I try to build simple
I want to learn python so I downloaded it from the python site and
I want to learn how to use MSBuild ReadLinesFromFile Task I observe Output tag
I want to learn lLinux Kernel programming. What would be the starting points for
I want to learn how to process XML with namespaces in E4X so basically
I want to learn some JVM language, but there are so many EDIT :
I want to learn C# because... It seems to be a pretty marketable language

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.