]> git.sur5r.net Git - openldap/commitdiff
ITS#5383 use public OID for config schema, no more hiding
authorHoward Chu <hyc@openldap.org>
Wed, 9 Apr 2008 15:22:23 +0000 (15:22 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 9 Apr 2008 15:22:23 +0000 (15:22 +0000)
servers/slapd/bconfig.c
servers/slapd/config.c

index b65928e9a89deb91201df8484cf31085ecab959d..e2486ca65260476265431baa79938b45baaab02c 100644 (file)
@@ -189,8 +189,8 @@ typedef struct {
 } OidRec;
 
 static OidRec OidMacros[] = {
-       /* OpenLDAProot:666.11.1 */
-       { "OLcfg", "1.3.6.1.4.1.4203.666.11.1" },
+       /* OpenLDAProot:1.12.2 */
+       { "OLcfg", "1.3.6.1.4.1.4203.1.12.2" },
        { "OLcfgAt", "OLcfg:3" },
        { "OLcfgGlAt", "OLcfgAt:0" },
        { "OLcfgBkAt", "OLcfgAt:1" },
index f2b624fb4e7ccdb95044ddc92e74a9d80b875299..368fb9cef62c883dc787c326587b274d98285cb2 100644 (file)
@@ -496,9 +496,6 @@ init_config_attrs(ConfigTable *ct) {
                        fprintf( stderr, "init_config_attrs: register_at failed\n" );
                        return code;
                }
-#ifndef LDAP_DEVEL
-               ct[i].ad->ad_type->sat_flags |= SLAP_AT_HIDE;
-#endif
        }
 
        return 0;
@@ -514,9 +511,6 @@ init_config_ocs( ConfigOCs *ocs ) {
                        fprintf( stderr, "init_config_ocs: register_oc failed\n" );
                        return code;
                }
-#ifndef LDAP_DEVEL
-               ocs[i].co_oc->soc_flags |= SLAP_OC_HIDE;
-#endif
        }
        return 0;
 }