I'm working on implementing LDAP on my small 7-user home-network as a
learning practice. Eventually, I want to set up LDAP so that I can
write an open-source LDAP-to-OpenID bridge. I'm using OpenLDAP 2.3,
and if these questions are better directed at that list let me know.
It's been pretty easy so far (I've used LDAP as a programmer, but not
implemented it from scratch as an administrator), but I'm hitting a
wall that's basically just a lack of knowledge about how LDAP
implements (or can implement) groups.
One application that I use wants groups to have a multivalued
attribute containing the DN of each of its members. Another one
(nss_ldap on FreeBSD) wants groups to have a multivalued attribute
containing the UID of of each of its members (POSIX-style groups).
1. I'd like to avoid duplicating this information over two attributes
2. I'd really rather store the (unchanging) principalid of each user
and somehow have a dynamic attribute that will return the memberuid
or memberdn of each member when asked for these attributes.
3. It might also be possible to convince nss_ldap to determine groups
based on a different attribute than the memberuid. Is it?
4. I'd like to have somehow have referential integrity (like foreign
keys in SQL) that ensures that a given member actually exists on
creation. Is that possible in OpenLDAP?
I'd be willing to give up any of these if it makes my schema more
common or standard, and likely to work with more applications in the
future that I might try out (drupal, GUI LDAP tools, sendmail, etc).
Having a weird or nonstandard LDAP schema seems like a bad thing,
especially if it's because I made it because I didn't understand The
LDAP Way(tm)
I've read a number of LDAP-related articles and most seem to walk me
through setting up POSIX style groups, which may be the easiest to
set up but seems to be the hardest to use in real applications
outside of nss_ldap. Does the answer lie in the inetorgperson,
Cosine, or OpenLDAP schemas, or something similar?
Is there a simple article that I can read that can tell me about this
stuff? It seems that most articles online assume that I'm an LDAP
guru or totally new to the idea of directory services, with no in-
between. Are there any recommendable books directed at this
intermediate level of skill?
-- David
---
You are currently subscribed to ldap@umich.edu as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.