From: Howard Chu Date: Wed, 9 Apr 2008 15:22:23 +0000 (+0000) Subject: ITS#5383 use public OID for config schema, no more hiding X-Git-Tag: OPENLDAP_REL_ENG_2_4_9~20^2~28 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=204b035a9c594323be07d62c74aecd97d4e91cc5;p=openldap ITS#5383 use public OID for config schema, no more hiding --- 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; }