I am creating an ldap database for a user repository for a number of web applications using the same users. I would like to store preference information in this ldap location. Thus, everything related to users is supported in one place and can be used for all applications.
I am thinking of a general structure like this:
ou = People, dc = domain, dc = com
uid = jdoe, ou = People, dc = domain, dc = com
ou = Preferences, uid = jdoe, dc = domain, dc = com
ou = firstpreference, ou = Preferences, uid = jdoe, dc = domain, dc = com
value: 123
value: 456
I have a few questions:
Is jsut below the user record in the right place to start saving settings? What object should this record be? I am experimenting with organizationUnit, but that doesn't seem right.
What is the best way to store name value pairs for preferences? Here, my best guest is to create an entry just below the preferences that have a name, and create a value under it. This way I can take into account several values. What should be the correct object class for these entries?
I work with OpenLDAP and do not want to change the schemes that go with it. Is there any way to set this using the available circuits?
source
share