Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 66943 invoked from network); 11 Aug 2010 11:38:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Aug 2010 11:38:29 -0000 Received: (qmail 30571 invoked by uid 500); 11 Aug 2010 11:38:29 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 30342 invoked by uid 500); 11 Aug 2010 11:38:26 -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 30329 invoked by uid 99); 11 Aug 2010 11:38:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 11:38:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [152.94.2.16] (HELO abeladm.uis.no) (152.94.2.16) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 11:38:18 +0000 To: users@directory.apache.org Subject: Add a schema to embedded Apache DS MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: martin.goldhahn@uis.no Date: Wed, 11 Aug 2010 13:37:57 +0200 X-MIMETrack: Serialize by Router on Abeladm/SPOKE/HIS(Release 6.5.6FP2|October 17, 2007) at 11.08.2010 13:38:18 Content-Type: multipart/mixed; boundary="=_mixed 003FE648C125777C_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_mixed 003FE648C125777C_= Content-Type: multipart/alternative; boundary="=_alternative 003FE648C125777C_=" --=_alternative 003FE648C125777C_= Content-Type: text/plain; charset="US-ASCII" Hi! I run Apache 1.5.6 with the FrameworkRunner in junit 4.7. I have trouble adding a new schema to the LDAP server. I fetched a schema from http://www.feide.no/ldap-schema-feide. Bu these are provided for OpenLDAP. The schema is added with the @ApplyLdifFiles annotation I figured I had to change some attributes. I got as far as adding object classes to the schema, but then it complains that the schema is not defined. Here is my modified schema. The original schema can be downloaded from http://www.feide.no/sites/feide.no/files/documents/noreduperson-1_5-openldap.ldif -- Regards Martin Goldhahn Systems Developer University of Stavanger, IT Department phone: +47-518 31065 --=_alternative 003FE648C125777C_= Content-Type: text/html; charset="US-ASCII"
Hi!
I run Apache 1.5.6 with the FrameworkRunner in junit 4.7.
I have trouble adding a new schema to the LDAP server.
I fetched a schema from http://www.feide.no/ldap-schema-feide. Bu these are provided for OpenLDAP.
The schema is added with the @ApplyLdifFiles annotation
I figured I had to change some attributes. I got as far as adding object classes to the schema, but then it complains that the schema is not defined.

Here is my modified schema.
The original schema can be downloaded from http://www.feide.no/sites/feide.no/files/documents/noreduperson-1_5-openldap.ldif

--
Regards
Martin Goldhahn
Systems Developer
University of Stavanger, IT Department
phone: +47-518 31065
--=_alternative 003FE648C125777C_=-- --=_mixed 003FE648C125777C_=--