Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 59191 invoked from network); 30 Mar 2007 20:03:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2007 20:03:03 -0000 Received: (qmail 44057 invoked by uid 500); 30 Mar 2007 20:03:10 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 44011 invoked by uid 500); 30 Mar 2007 20:03:10 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 44000 invoked by uid 99); 30 Mar 2007 20:03:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2007 13:03:10 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ole.ersoy@gmail.com designates 209.85.132.240 as permitted sender) Received: from [209.85.132.240] (HELO an-out-0708.google.com) (209.85.132.240) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2007 13:03:01 -0700 Received: by an-out-0708.google.com with SMTP id b15so555997ana for ; Fri, 30 Mar 2007 13:02:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=atoanpBEzOYnVRdgkf2qNntqtTqdMaQr0NlvwQzeTOvzCo82ZcdWt9Zrmc0w96WK/rBuS1vqFW555Ck2JEAfFSkMPLbctP8ol0kfvs2nJH48D0o2XYTq+kCw++cS18Qzry0CPF1FPXy4/YxwKAcAR4CgpImv60y7FlprWCXWvro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=dMHz2rK2Emk5VckQZ3EBjBrrlpDgeYIVatyDQxuvYDlLzp8dQMA2/ppmB4SCN8FCnA8c85idjDCkrizLEpEb13EYt3WHJy71cuU7aUxfJ4zOPWTIVGmXHSwOJBQ/U3GTyHc7h5/QVzphUD+2c8+8+0fdtew0+mf2VAVvpCOsJ+o= Received: by 10.100.58.4 with SMTP id g4mr1736149ana.1175284960348; Fri, 30 Mar 2007 13:02:40 -0700 (PDT) Received: from ?192.168.1.24? ( [24.13.179.233]) by mx.google.com with ESMTP id 17sm9794706nzo.2007.03.30.13.02.38; Fri, 30 Mar 2007 13:02:39 -0700 (PDT) Message-ID: <460D6C2E.9080703@gmail.com> Date: Fri, 30 Mar 2007 14:59:42 -0500 From: Ole Ersoy User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: ou=system is parent context for all entries? References: <460D506C.5060309@gmail.com> <460D5EF1.1070209@gmail.com> <460D61D9.8080207@labeo.de> In-Reply-To: <460D61D9.8080207@labeo.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Aha! Sweet - So the process for engineering.example.org that wishes to have DN: ou=engineering, ou=example, ou=org as the parent context for all their models persisted with the LDAP DAS would be to first add DN: ou=engineering, ou=example, ou=org in the configuration file, then use that as the root context for all the DAS operations java.naming.provider.url=ldap://localhost:389/ ou=engineering, ou=example, ou=org Incidentally - Some might like it if the DAS was able to just create this root context without using the configuration file. Then ADS could just add it to the configuration file. Thoughts? Thanks Stefan, - Ole P.S. This may qualify for as a scenario (John mentioned) where configuration data is in multiple files. For instance right now I'm creating a model holding the configuration of the DAS. The model stores this type of parameter java.naming.provider.url=ldap://localhost:389/ ou=engineering, ou=example, ou=org If on startup ADS could be pointed to this file, it would know that ou=engineering, ou=example, ou=org is a "Configured" context... This type of thing is really easy to do with EMF. More thoughts? Thanks, - Ole Stefan Zoerner wrote: > Ole Ersoy wrote: >> Ahhh - OK -Cool - So >> >> if the DAS wants to have a model root object >> stored at >> >> DN: cn=ole >> >> That's ok? >> >> So to create cn=ole as my initial context I would >> set the >> >> java.naming.provider.url=ldap://localhost:389/ >> >> like that, and then create the >> subcontext "cn=ole"? >> > > No. That won't work. For a top level entry like that, you have to > create a new partition with suffix "cn=ole" within your server > configuration. Like the "dc=example,dc=com" sample partition. > > Greetings, > Stefan > >