]> git.sur5r.net Git - openldap/commitdiff
same for overlays; fix typo ("Overlays" instead of "Overlay" in parent entry)
authorPierangelo Masarati <ando@openldap.org>
Sat, 23 Jul 2005 15:55:29 +0000 (15:55 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 23 Jul 2005 15:55:29 +0000 (15:55 +0000)
servers/slapd/back-monitor/back-monitor.h
servers/slapd/back-monitor/overlay.c

index 80e8ce6b147a996a198ca74100c109aa6b7d42ee..e85c76866d2711df13138de4879f1de3c9759976 100644 (file)
@@ -193,7 +193,7 @@ enum {
 #define SLAPD_MONITOR_OPS_DN   \
        SLAPD_MONITOR_OPS_RDN "," SLAPD_MONITOR_DN
 
-#define SLAPD_MONITOR_OVERLAY_NAME     "Overlay"
+#define SLAPD_MONITOR_OVERLAY_NAME     "Overlays"
 #define SLAPD_MONITOR_OVERLAY_RDN  \
        SLAPD_MONITOR_AT "=" SLAPD_MONITOR_OVERLAY_NAME
 #define SLAPD_MONITOR_OVERLAY_DN   \
index 568a808d2ac21ff30f4a6783e281ae5ef26c3f81..bc6610a7b8991e9911ed39b8e2b0e670fc947178 100644 (file)
@@ -80,6 +80,8 @@ monitor_subsys_overlay_init(
                                "objectClass: %s\n"
                                "structuralObjectClass: %s\n"
                                "cn: Overlay %d\n"
+                               "%s: %s\n"
+                               "%s: %s\n"
                                "creatorsName: %s\n"
                                "modifiersName: %s\n"
                                "createTimestamp: %s\n"
@@ -89,6 +91,10 @@ monitor_subsys_overlay_init(
                                mi->mi_oc_monitoredObject->soc_cname.bv_val,
                                mi->mi_oc_monitoredObject->soc_cname.bv_val,
                                i,
+                               mi->mi_ad_monitoredInfo->ad_cname.bv_val,
+                                       on->on_bi.bi_type,
+                               mi->mi_ad_monitorRuntimeConfig->ad_cname.bv_val,
+                                       on->on_bi.bi_cf_ocs ? "TRUE" : "FALSE",
                                mi->mi_creatorsName.bv_val,
                                mi->mi_creatorsName.bv_val,
                                mi->mi_startTime.bv_val,
@@ -104,8 +110,6 @@ monitor_subsys_overlay_init(
                }
                
                ber_str2bv( on->on_bi.bi_type, 0, 0, &bv );
-               attr_merge_normalize_one( e, mi->mi_ad_monitoredInfo,
-                               &bv, NULL );
                attr_merge_normalize_one( e_overlay, mi->mi_ad_monitoredInfo,
                                &bv, NULL );