From: Pierangelo Masarati Date: Sat, 12 Jan 2002 11:36:23 +0000 (+0000) Subject: monitor objectclass definition X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~176 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ea86a1946079bf016be8b444391419bec5cb1c55;p=openldap monitor objectclass definition --- diff --git a/servers/slapd/schema_prep.c b/servers/slapd/schema_prep.c index 2c41c0d368..49a2f5b7e2 100644 --- a/servers/slapd/schema_prep.c +++ b/servers/slapd/schema_prep.c @@ -166,6 +166,11 @@ static struct slap_schema_oc_map { "matchingRuleUse ) )", subentryObjectClass, offsetof(struct slap_internal_schema, si_oc_subschema) }, + { "monitor", "( 1.3.6.1.4.1.4203.666.3.2 NAME 'monitor' " + "DESC 'OpenLDAP system monitoring' " + "STRUCTURAL " + "MUST cn )", + 0, offsetof(struct slap_internal_schema, si_oc_monitor) }, { "collectiveAttributes", "( 2.5.20.2 " "NAME 'collectiveAttributes' " "AUXILIARY )", diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index fd07e57a23..52d59d2064 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -518,6 +518,7 @@ struct slap_internal_schema { ObjectClass *si_oc_rootdse; ObjectClass *si_oc_subentry; ObjectClass *si_oc_subschema; + ObjectClass *si_oc_monitor; ObjectClass *si_oc_collectiveAttributes; ObjectClass *si_oc_dynamicObject;