From 4edd5cca23e6a8b25a1ffbde4deb83cc04ac91ab Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 1 Sep 2007 15:38:03 +0000 Subject: [PATCH] hide (experimental) schema --- servers/slapd/overlays/dds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/overlays/dds.c b/servers/slapd/overlays/dds.c index 278658eb58..1df2ccd7bb 100644 --- a/servers/slapd/overlays/dds.c +++ b/servers/slapd/overlays/dds.c @@ -1842,6 +1842,7 @@ dds_initialize() if ( !do_not_load_schema ) { static struct { char *desc; + slap_mask_t flags; AttributeDescription **ad; } s_at[] = { { "( 1.3.6.1.4.1.4203.666.1.57 " @@ -1854,6 +1855,7 @@ dds_initialize() "SINGLE-VALUE " "NO-USER-MODIFICATION " "USAGE dSAOperation )", + SLAP_AT_HIDE, &ad_entryExpireTimestamp }, { NULL } }; @@ -1865,6 +1867,7 @@ dds_initialize() "dds_initialize: register_at failed\n", 0, 0, 0 ); return code; } + (*s_at[ i ].ad)->ad_type->sat_flags |= SLAP_AT_HIDE; } } -- 2.39.5