# $OpenLDAP$
## This work is part of OpenLDAP Software .
##
## Copyright 2021 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## .
##
## Definitions from draft Structural Object Classes for Named Objects
## https://tools.ietf.org/html/draft-stroeder-namedobject
##
## Portions Copyright (c) 2013 IETF Trust and the persons identified
## as the document authors. All rights reserved.
#
# Depends upon core.schema and cosine.schema
# 2.1. 'namedObject'
#
# The 'namedObject' object class definition is the basis of an entry
# that represents an arbitrary named object. The attribute 'cn' MUST
# be added to the entry. The attributes 'uniqueIdentifier' and
# 'description' MAY be added to the entry.
objectclass ( 1.3.6.1.4.1.5427.1.389.6.20
NAME 'namedObject'
SUP top
STRUCTURAL
MUST ( cn )
MAY ( uniqueIdentifier $ description ) )
# 2.2. 'namedPolicy'
#
# The 'namedPolicy' object class definition is sub-classed from
# 'namedObject'. It SHOULD only be used for entries which represents
# an arbitrary policy. A typical example would be to use it along with
# auxiliary object class 'pwdPolicy' defined in
objectclass ( 1.3.6.1.4.1.5427.1.389.6.21
NAME 'namedPolicy'
SUP namedObject
STRUCTURAL )