]> git.sur5r.net Git - openldap/commitdiff
hide (experimental) schema
authorPierangelo Masarati <ando@openldap.org>
Sat, 1 Sep 2007 16:01:29 +0000 (16:01 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 1 Sep 2007 16:01:29 +0000 (16:01 +0000)
servers/slapd/back-bdb/monitor.c

index ffde364a270893baae2427d8c1705e33066fcd10..c99204a65743552ac8f58748e50b4ef393151f0d 100644 (file)
@@ -279,6 +279,7 @@ bdb_monitor_initialize( void )
                                "bdb_monitor_initialize: register_at failed\n",
                                0, 0, 0 );
                }
+               (*s_at[ i ].ad)->ad_type->sat_flags |= SLAP_AT_HIDE;
        }
 
        for ( i = 0; s_oc[ i ].desc != NULL; i++ ) {
@@ -288,6 +289,7 @@ bdb_monitor_initialize( void )
                                "bdb_monitor_initialize: register_oc failed\n",
                                0, 0, 0 );
                }
+               (*s_oc[ i ].oc)->soc_flags |= SLAP_OC_HIDE;
        }
 
        return 0;