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