]> git.sur5r.net Git - openldap/commitdiff
hide (experimental) schema
authorPierangelo Masarati <ando@openldap.org>
Sat, 1 Sep 2007 15:38:03 +0000 (15:38 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 1 Sep 2007 15:38:03 +0000 (15:38 +0000)
servers/slapd/overlays/dds.c

index 278658eb58f93c214c7efad0aa77d2507effee16..1df2ccd7bbbc061464daa80e7f2ac90a9328ccb2 100644 (file)
@@ -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;
                }
        }