hide (experimental) schema

This commit is contained in:
Pierangelo Masarati 2007-09-01 15:38:03 +00:00
parent 63a7a69b89
commit 4edd5cca23

View File

@ -1842,6 +1842,7 @@ dds_initialize()
if ( !do_not_load_schema ) { if ( !do_not_load_schema ) {
static struct { static struct {
char *desc; char *desc;
slap_mask_t flags;
AttributeDescription **ad; AttributeDescription **ad;
} s_at[] = { } s_at[] = {
{ "( 1.3.6.1.4.1.4203.666.1.57 " { "( 1.3.6.1.4.1.4203.666.1.57 "
@ -1854,6 +1855,7 @@ dds_initialize()
"SINGLE-VALUE " "SINGLE-VALUE "
"NO-USER-MODIFICATION " "NO-USER-MODIFICATION "
"USAGE dSAOperation )", "USAGE dSAOperation )",
SLAP_AT_HIDE,
&ad_entryExpireTimestamp }, &ad_entryExpireTimestamp },
{ NULL } { NULL }
}; };
@ -1865,6 +1867,7 @@ dds_initialize()
"dds_initialize: register_at failed\n", 0, 0, 0 ); "dds_initialize: register_at failed\n", 0, 0, 0 );
return code; return code;
} }
(*s_at[ i ].ad)->ad_type->sat_flags |= SLAP_AT_HIDE;
} }
} }