From: Pierangelo Masarati Date: Sat, 1 Sep 2007 15:38:03 +0000 (+0000) Subject: hide (experimental) schema X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~26 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4edd5cca23e6a8b25a1ffbde4deb83cc04ac91ab;p=openldap hide (experimental) schema --- 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; } }