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

Re: Foreign Key Attributes w/ LDAP



On Wed, Nov 24, 2004 at 06:13:23PM -0600, hanasaki wrote:
> Gary C. New wrote:
> >Does OpenLDAP have the capability to link attributes in different 
> >directories to one another?  Something similar to cascading foreign key 
> >relationships in SQL?  I would like for OpenLDAP to cascade a pair of 
> >userPassword attributes in two separate directories.
> >
> >Thank you for your assistance.
> >
> >Respectfully,
> >
> >
> >Gary
> >
> >
> I am not very current on this but... LDAP does not support (or didn't 
> support) any concept of referential integrity.  I have heard of a 
> proposal to add such a functionality but don't really know where it is
> 
> You might be able to cheat.  Use mysql for the backend and modify the 
> rdbms schema yourself + some triggers?....

If you use LDAP as a read-only publishing mechanism, you could maintain
the canonical data in a database independant of ldap, and periodically
reconcile ldap w/ the canonical database.

-- 
Ron Peterson
Network & Systems Manager
Mount Holyoke College
http://www.mtholyoke.edu/~rpeterso