directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <>
Subject Re: referencing entries
Date Mon, 02 Jan 2012 22:56:40 GMT
On 1/2/12 11:43 PM, Christoph Czurda wrote:
> Hi,
> Is there something like 'foreign keys' in ldap, like there is in
> relational databases?
> I would like to do the following: An entry shall
> only be added if a specific DN exists. Otherwise the adding should fail.
> Can this constraint be implemented in the schema or do I have to ensure
> it on application side?
It would be possible to enforce such a constraint using Directory 
Structure Rules (ie, rules that govern the kinds of subordinate entries 
that a given entry may have)

We don't implement DSR atm, and I'm not sure that many LDAP server are 
implementing them...

Emmanuel L├ęcharny

View raw message