xref: /netbsd-src/external/bsd/openldap/dist/servers/slapd/schema/namedobject.schema (revision e670fd5c413e99c2f6a37901bb21c537fcd322d2)
1*e670fd5cSchristos# $OpenLDAP$
2*e670fd5cSchristos## This work is part of OpenLDAP Software <http://www.openldap.org/>.
3*e670fd5cSchristos##
4*e670fd5cSchristos## Copyright 2021 The OpenLDAP Foundation.
5*e670fd5cSchristos## All rights reserved.
6*e670fd5cSchristos##
7*e670fd5cSchristos## Redistribution and use in source and binary forms, with or without
8*e670fd5cSchristos## modification, are permitted only as authorized by the OpenLDAP
9*e670fd5cSchristos## Public License.
10*e670fd5cSchristos##
11*e670fd5cSchristos## A copy of this license is available in the file LICENSE in the
12*e670fd5cSchristos## top-level directory of the distribution or, alternatively, at
13*e670fd5cSchristos## <http://www.OpenLDAP.org/license.html>.
14*e670fd5cSchristos##
15*e670fd5cSchristos## Definitions from draft Structural Object Classes for Named Objects
16*e670fd5cSchristos## https://tools.ietf.org/html/draft-stroeder-namedobject
17*e670fd5cSchristos##
18*e670fd5cSchristos## Portions Copyright (c) 2013 IETF Trust and the persons identified
19*e670fd5cSchristos## as the document authors.  All rights reserved.
20*e670fd5cSchristos#
21*e670fd5cSchristos# Depends upon core.schema and cosine.schema
22*e670fd5cSchristos
23*e670fd5cSchristos# 2.1.  'namedObject'
24*e670fd5cSchristos#
25*e670fd5cSchristos# The 'namedObject' object class definition is the basis of an entry
26*e670fd5cSchristos# that represents an arbitrary named object.  The attribute 'cn' MUST
27*e670fd5cSchristos# be added to the entry.  The attributes 'uniqueIdentifier' and
28*e670fd5cSchristos# 'description' MAY be added to the entry.
29*e670fd5cSchristosobjectclass ( 1.3.6.1.4.1.5427.1.389.6.20
30*e670fd5cSchristos	NAME 'namedObject'
31*e670fd5cSchristos	SUP top
32*e670fd5cSchristos	STRUCTURAL
33*e670fd5cSchristos	MUST ( cn )
34*e670fd5cSchristos	MAY ( uniqueIdentifier $ description ) )
35*e670fd5cSchristos
36*e670fd5cSchristos# 2.2. 'namedPolicy'
37*e670fd5cSchristos#
38*e670fd5cSchristos# The 'namedPolicy' object class definition is sub-classed from
39*e670fd5cSchristos# 'namedObject'.  It SHOULD only be used for entries which represents
40*e670fd5cSchristos# an arbitrary policy.  A typical example would be to use it along with
41*e670fd5cSchristos# auxiliary object class 'pwdPolicy' defined in
42*e670fd5cSchristosobjectclass ( 1.3.6.1.4.1.5427.1.389.6.21
43*e670fd5cSchristos	NAME 'namedPolicy'
44*e670fd5cSchristos	SUP namedObject
45*e670fd5cSchristos	STRUCTURAL )
46*e670fd5cSchristos
47