From ea86a1946079bf016be8b444391419bec5cb1c55 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 12 Jan 2002 11:36:23 +0000 Subject: [PATCH] monitor objectclass definition --- servers/slapd/schema_prep.c | 5 +++++ servers/slapd/slap.h | 1 + 2 files changed, 6 insertions(+) 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; -- 2.39.5