[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Schema With OIDS ?



This is a migration issue... as such it's bound to be a bit confusing
to many...

At 10:28 AM 11/5/99 -0600, Bob Evans wrote:
>I have installed OpenLDAP on
>Solaris, and can find no files containing any entries showing OIDS.

OpenLDAP 1.2, which provides an LDAPv2 implementation, doesn't
care about OIDs.  Hence, you won't find any OID support nor
meantion of OIDs in OpenLDAP 1.2.

The purpose of my message (besides answerring the users question)
was to provide a heads up:

  LDAPv3 requires OIDs to be assigned to each and every schema item.

OpenLDAP 2.0 will require you to provide an OID for any item
you define.  If you add third party schema items, the third
party should provide you with a complete definition of the
schema item WITH AN OID.

You need not worry about OIDs for distribution schema items.
OpenLDAP 2.0 will provide configuration files which contain
appropriate definitions for most (if not all) standard track
LDAP schema items (and more).

I suggest that when you define a custom schema item, you do so
use the formats detailed in RFC2252.  Though you cannot use
this format directly in slapd configuration files, you can add
it as a comment associated with the appropriate slapd configuration
directivies.  I also suggest you add comments such that the
schema items are documented in place.

ie:
	# myattr
	#	This attribute can contain....
	# 
	# 	( 1.2.3.4 NAME 'myAttr'
    	#		DESC 'my attribute type'
	#		EQUALITY caseIgnoreIA5Match
	#		SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256}
	#		SINGLE-VALUE )
	attribute myaddr cis

Then, when 2.0 is released, you'll be able to replace 1.2
configuration directive (attribute myaddr cis) with the 2.0
directive (which is the 'attributeType' followed by the
definition in RFC2252 format).

Kurt

----
Kurt D. Zeilenga		<kurt@boolean.net>
Net Boolean Incorporated	<http://www.boolean.net/>