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 E0B198C09 for ; Wed, 10 Aug 2011 15:09:01 +0000 (UTC) Received: (qmail 55038 invoked by uid 500); 10 Aug 2011 15:09:01 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 54962 invoked by uid 500); 10 Aug 2011 15:09:01 -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 54930 invoked by uid 99); 10 Aug 2011 15:09:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 15:09:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 209.85.214.50 is neither permitted nor denied by domain of khamilton@umem.org) Received: from [209.85.214.50] (HELO mail-bw0-f50.google.com) (209.85.214.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Aug 2011 15:08:54 +0000 Received: by bkbzu5 with SMTP id zu5so510336bkb.37 for ; Wed, 10 Aug 2011 08:08:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.241.78 with SMTP id ld14mr2409285bkb.373.1312988913397; Wed, 10 Aug 2011 08:08:33 -0700 (PDT) Received: by 10.204.140.75 with HTTP; Wed, 10 Aug 2011 08:08:33 -0700 (PDT) In-Reply-To: <799809D6-8F86-4001-A0CD-6907A1B8D765@marcelot.net> References: <799809D6-8F86-4001-A0CD-6907A1B8D765@marcelot.net> Date: Wed, 10 Aug 2011 11:08:33 -0400 Message-ID: Subject: Re: Adding universal attributes From: Kevin Hamilton To: Pierre-Arnaud Marcelot Cc: users@directory.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I am still having trouble even creating attributes. I go into schema editor, and I create a new schema called uuid-schema. I add an attribute called uuid with my desired properties. I then create an auxiliary objectclass called uuid-class. The attributes are optional uuid. I think export this as apacheds file. Then I go back to my LDAP browser and import LDIF and get the file. It successfully adds the schema to the ou=3Dschema section in LDAP but I cannot view either the object class nor the attribute in the schema browser. Am I doing something wrong? How can I start using this new attribute when I can't find it anywhere? Thanks in advance, Kevin On Wed, Aug 10, 2011 at 10:31 AM, Pierre-Arnaud Marcelot wrote: > Hi Kevin, > > How about defining an auxiliary object class which contains this UUID att= ribute (either as a mandatory or optional attribute type)? > > This would allow you to add the UUID attribute to any entry (after adding= the new object class to the 'objectClass' attribute of the entry of course= ). > > This way you don't have to modify any existing class hierarchy. > > Hope this helps, > Pierre-Arnaud > > On 10 ao=FBt 2011, at 16:23, Kevin Hamilton wrote: > >> Hello everyone, >> >> I am somewhat new to ApacheDS, but I was wondering if anyone could >> help me with creating attributes that can be used by everything. >> >> I would like to have every record contain a uuid attribute. How would >> I go about creating a UUID attribute and making it "useable" by all >> objectclasses? >> >> Any help is greatly appreciated. Thanks! >> >> - Kevin > >