Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 83368 invoked from network); 24 Apr 2007 03:44:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 03:44:49 -0000 Received: (qmail 9020 invoked by uid 500); 24 Apr 2007 03:44:56 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 8984 invoked by uid 500); 24 Apr 2007 03:44:56 -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 8973 invoked by uid 99); 24 Apr 2007 03:44:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 20:44:56 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of akarasulu@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2007 20:44:48 -0700 Received: by ug-out-1314.google.com with SMTP id 71so82051ugh for ; Mon, 23 Apr 2007 20:44:27 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=mXAUMCUhROFiMpHC2uQfZK6oaPy7CLGuxG7qNLbKJyRDrH9abiLPpTeMkMApCztv6OK4Bk6fWUMxsi+J0Iqej4er0BXQ9b4DU/8lXsRzzM403quPMZ2LCAAEXkjYNmQ3X5PZVvyNeWbMTDAo7qXH0h6RUESgdt8Kmr2Mdt5cU2c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=shUts54aHGn32zMTAdJQMyiaiTCwtBbCyY3/QP0+kl4boZfBy3KxveXeo41YbKDRolAfq+sWOzDPkMFV8LU0Fjm5tNRF6qPitrIBf4nmgtMH5vk2HMen/n28SW+wnxbDWgqB92a7vrnGdi1a2UFBEfT9z3MsbNL9Zvmgbh1L/lI= Received: by 10.67.29.7 with SMTP id g7mr273235ugj.1177386267398; Mon, 23 Apr 2007 20:44:27 -0700 (PDT) Received: by 10.66.226.14 with HTTP; Mon, 23 Apr 2007 20:44:27 -0700 (PDT) Message-ID: Date: Mon, 23 Apr 2007 23:44:27 -0400 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: "Apache Directory Developers List" Subject: Re: [SCHEMA] Operation Not Supported Exception In-Reply-To: <462D7660.1020900@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_155498_23567838.1177386267340" References: <462D7660.1020900@gmail.com> X-Google-Sender-Auth: 6fffc6d97a7ad3bb X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_155498_23567838.1177386267340 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 4/23/07, Ole Ersoy wrote: > > Hey Guys, > > I noticed something interesting. > > If connect with ou=system as my initial context, > I'm allowed to do this: > > ctx.createSubcontext("cn=test"); > > But if I have ou=schema > as my context instead, I get > an operation not supported > exception. > > I imagine this could be by design, Yep you're only allowed to create schema objects under ou=schema. This is a restriction mandated by the schema subsystem. Alex ------=_Part_155498_23567838.1177386267340 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
On 4/23/07, Ole Ersoy <ole.ersoy@gmail.com> wrote:
Hey Guys,

I noticed something interesting.

If connect with ou=system as my initial context,
I'm allowed to do this:

ctx.createSubcontext("cn=test");

But if I have ou=schema
as my context instead, I get
an operation not supported
exception.

I imagine this could be by design,

Yep you're only allowed to create schema objects under ou=schema.  This is a restriction mandated by the schema subsystem.

Alex

------=_Part_155498_23567838.1177386267340--