]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/back-monitor.h
honor disclose
[openldap] / servers / slapd / back-monitor / back-monitor.h
index bc3a0842c14ced717b179f281ccf94cb7d2c7993..dc7d4cf2fb20bfff137ca28a232dfc8012c77de4 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2001-2004 The OpenLDAP Foundation.
+ * Copyright 2001-2005 The OpenLDAP Foundation.
  * Portions Copyright 2001-2003 Pierangelo Masarati.
  * All rights reserved.
  *
@@ -29,6 +29,9 @@
 
 LDAP_BEGIN_DECL
 
+/* define if si_ad_labeledURI is removed from slap_schema */
+#undef MONITOR_DEFINE_LABELEDURI
+
 typedef struct monitor_callback_t {
        int                     (*mc_update)( Operation *op, Entry *e, void *priv );
                                                /* update callback
@@ -106,7 +109,10 @@ typedef struct monitor_info_t {
        AttributeDescription    *mi_ad_description;
        AttributeDescription    *mi_ad_seeAlso;
        AttributeDescription    *mi_ad_l;
+#ifdef MONITOR_DEFINE_LABELEDURI
+       /* enable if si_ad_labeledURI is removed from slap_schema */
        AttributeDescription    *mi_ad_labeledURI;
+#endif /* MONITOR_DEFINE_LABELEDURI */
        AttributeDescription    *mi_ad_readOnly;
        AttributeDescription    *mi_ad_restrictedOperation;