directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lecharny <elecha...@gmail.com>
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?
No.
> 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...



-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com


Mime
View raw message