From 204b035a9c594323be07d62c74aecd97d4e91cc5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 9 Apr 2008 15:22:23 +0000 Subject: [PATCH] ITS#5383 use public OID for config schema, no more hiding --- servers/slapd/bconfig.c | 4 ++-- servers/slapd/config.c | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index b65928e9a8..e2486ca652 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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" }, diff --git a/servers/slapd/config.c b/servers/slapd/config.c index f2b624fb4e..368fb9cef6 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -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; } -- 2.39.5