From users-return-1546-apmail-directory-users-archive=directory.apache.org@directory.apache.org Sat Jun 21 07:34:14 2008 Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 613 invoked from network); 21 Jun 2008 07:34:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jun 2008 07:34:12 -0000 Received: (qmail 99818 invoked by uid 500); 21 Jun 2008 07:34:14 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 99778 invoked by uid 500); 21 Jun 2008 07:34:14 -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 99767 invoked by uid 99); 21 Jun 2008 07:34:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jun 2008 00:34:14 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_PASS,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ayyagarikiran@gmail.com designates 209.85.198.233 as permitted sender) Received: from [209.85.198.233] (HELO rv-out-0506.google.com) (209.85.198.233) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jun 2008 07:33:21 +0000 Received: by rv-out-0506.google.com with SMTP id g37so7149587rvb.25 for ; Sat, 21 Jun 2008 00:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=CcMLIZLsCKOmROptVFaJmN5q3DhCJ3dmmq6gIv9DegQ=; b=D+Kff+dw9edsEl3xTfVjwabOYCd1l2OgJ6t+McTCHnijOwkZ5B7VR8hV1g/Uv32sp1 SlDufEvguRTxhD/yZ218SVE5kTFpFvRg4nLgx83IqkBrrrw7mcWS05Vs04QkygCtGyAh fssZSRLJDz+7273o7nWUgR0Mqd2WO9YxxX6Xg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=quVcEJ11pq7A3ZKmCEDgvIMvaTz+9SosajLvHsF0rbexttih5k+U59ww3z52e9wBvO Ei7zhAiHM/2hyKlMqUbVcPuw4GNuu+fT+kgoHaLJlKgVLPsDBaG0BSZZKeyVs+JoQ7ba KirdnH1h0r1kHE4mHEpVB4QrFdAIJ/CIdImD4= Received: by 10.141.163.12 with SMTP id q12mr8826804rvo.190.1214033620307; Sat, 21 Jun 2008 00:33:40 -0700 (PDT) Received: from ?121.245.37.141? ( [121.245.37.141]) by mx.google.com with ESMTPS id g22sm5169632rvb.7.2008.06.21.00.33.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Jun 2008 00:33:39 -0700 (PDT) Message-ID: <485CAEC2.1060309@gmail.com> Date: Sat, 21 Jun 2008 13:03:22 +0530 From: Kiran Ayyagari User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: users@directory.apache.org Subject: Re: ADS 1.5.1 - howto add a new partition References: <485BFB75.8070806@mff.cuni.cz> <485C9916.1020201@gmail.com> <1033a22d0806210017w5973a815sfab0948f95e179fe@mail.gmail.com> In-Reply-To: <1033a22d0806210017w5973a815sfab0948f95e179fe@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org this works for server.xml of version 1.5.2. The config file structures of 1.5.1 and 1.5.2 are not same. Kiran Ayyagari John wrote: > I had trouble with this for a while. > You need to edit the server.xml. But the trick is that it's not c:\Program > Files\Apache Directory Server\conf\server.xml, it's c:\Program Files\Apache > Directory Server\instances\default\conf\server.xml. > It's not too hard to work out what to change in that file. I added the > following to the section: > optimizerEnabled="true" > syncOnWrite="true"> > > cacheSize="100"/> > cacheSize="100"/> > cacheSize="100"/> > cacheSize="100"/> > cacheSize="10"/> > cacheSize="10"/> > cacheSize="10"/> > > > > > > > #newExampleContextEntry > > > That is, a cut and paste changing (a) the id from "example" to "newExample", > (b) the suffix to "dc=acme", and (c) the contextEntry to > "#newExampleContextEntry" > Then I added a newExampleContextEntry spring bean down lower. Again, it was > a cut and paste of the exampleContextEntry, changing (a) the id, and (b) the > value to "dc=acme" towards the end. > > > class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> > local='directoryService'/> > name="targetMethod">newEntry > > > > objectClass: top > objectClass: domain > objectClass: extensibleObject > dc: example > > dc=acme > > > > > Then restart the directory server. On windows, use the Services control > panel to do this. > > Good luck. > > John. > > > On Sat, Jun 21, 2008 at 7:00 AM, Kiran Ayyagari > wrote: > > >> hi Lego, >> >> Which version of ADS you are using? >> >> Kiran Ayyagari >> >> >> Leo Galambos wrote: >> >> >>> Hello, >>> >>> I am trying to add a new partition. I follow the documentation at >>> http://directory.apache.org/apacheds/1.5/144-adding-your-own-partition-resp-suffix.html >>> suggesting to find and >>> add >> >>> Unfortunately, my server.conf does not include such tags, only >>> >> >>> I do think that the documentation of 1.5 is obsolete (does it describe ADS >>> 1.0 format?). >>> >>> I found XSD document with some hints, but it is still hard to understand >>> all the bells and whistles (you know, I try ADS for the first time). Can you >>> point me to a right documentation or send a server.conf with a new added >>> partition, let's say "dc=ACME", please? >>> >>> Thank you very much, >>> LG >>> >>> >>> > >