mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#5383 use public OID for config schema, no more hiding
This commit is contained in:
parent
d9dac0c8bc
commit
204b035a9c
@ -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" },
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user