Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EF49CBF67 for ; Mon, 2 Jan 2012 22:43:37 +0000 (UTC) Received: (qmail 32684 invoked by uid 500); 2 Jan 2012 22:43:37 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 32578 invoked by uid 500); 2 Jan 2012 22:43:36 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 32563 invoked by uid 99); 2 Jan 2012 22:43:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2012 22:43:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hasnoadditives@gmail.com designates 74.125.83.50 as permitted sender) Received: from [74.125.83.50] (HELO mail-ee0-f50.google.com) (74.125.83.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jan 2012 22:43:28 +0000 Received: by eeke53 with SMTP id e53so16181616eek.37 for ; Mon, 02 Jan 2012 14:43:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=QANxODhwb+b8OfPODt0UYRHtZ/akCTzrsaiL1GFd+uY=; b=x4mVsa3YCIQurhMqYf7L/U3oQUs0MW92GDKOMltvp5MnEllQtQiIMimjoRakxVj/rh x4R9doGyPUXd4EWY7o2Ntanh1tLxTUVA7UQ0oZpPT8HBKjJAoKBFi/kbuSl+Qmcf/1Id +VpHbPP3S8ihDj3dJNqm4V2+Lm2Tiuh/fzcNA= Received: by 10.213.31.72 with SMTP id x8mr9398901ebc.55.1325544187785; Mon, 02 Jan 2012 14:43:07 -0800 (PST) Received: from [10.0.0.6] (194-166-36-73.adsl.highway.telekom.at. [194.166.36.73]) by mx.google.com with ESMTPS id y12sm196304769eeb.11.2012.01.02.14.43.07 (version=SSLv3 cipher=OTHER); Mon, 02 Jan 2012 14:43:07 -0800 (PST) Message-ID: <4F0232FA.5010308@gmail.com> Date: Mon, 02 Jan 2012 23:43:06 +0100 From: Christoph Czurda User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: users@directory.apache.org Subject: referencing entries Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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? Kind regards, Christoph