From owner-freebsd-chat Fri Sep 13 5:31:43 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01C8A37B400 for ; Fri, 13 Sep 2002 05:31:39 -0700 (PDT) Received: from smartie.xs4all.nl (smartie.xs4all.nl [213.84.1.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1997343E6A for ; Fri, 13 Sep 2002 05:31:38 -0700 (PDT) (envelope-from martijn@smartie.xs4all.nl) Received: from sillywalks.org (dhcp156.in-10.sillywalks.org [192.168.10.156]) by smartie.xs4all.nl (8.12.6/8.12.6) with ESMTP id g8DCVWQQ005188; Fri, 13 Sep 2002 14:31:32 +0200 (CEST) (envelope-from martijn@sillywalks.org) Message-ID: <3D81DAA4.4020806@sillywalks.org> Date: Fri, 13 Sep 2002 14:31:32 +0200 From: Martijn Pronk User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Jason C. Wells" Cc: FreeBSD-chat Subject: Re: LDAP, Schema, and OIDs References: <20020912211919.B90870-100000@server2.highperformance.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-6.6 required=5.0 tests=QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_01_02,USER_AGENT, USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.41 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Jason, Jason C. Wells wrote: > I am just learning about LDAP. I read about warnings not to create > fictitious OIDs and not to modify default schema files. > > Why are OIDs globalized? > > Who cares what anyone else uses for OIDs in their databases? > > I have no care if FreeBSD uses a certain OID for an attribute. I have no > care if FreeBSD uses the same OID as I do for an attribute. Just like I > don't care if jcwells1@freebsd.org also exists. I think you have not a complete understanding of what an OID is. An OID describes what a certain value is, it tells the LDAP server and client how to use a value. An oid looks in fact like an MIB in the SNMP protocol. If you look at the schema files delivered with OpenLDAP you'll see that a certail ObjectClass (like InetOrgPerson) describes which fields are allowed and the fields are also defined in these shema files, like a field called cn which is defined as a string of text (name). If you need to define a field that is not present in any of the other (ready) available ObjectClasses then you can request an OID. (OIDs are centrally registered, just like MIBs with SNMP). > In fact, I think I might prefer to not use schema that are given by > default. (names like "o" are just stupid, i don't want to save a byte, i > want to be able to read the data) I would prefer to not have to > contact IANA to give me a number. You can define a new ObjectClass which renames this field, AFAIK. I guess some people on this list can tell you lots more on LDAP. (Terry Lambert?) HTH, Martijn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message