mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
hide schema
This commit is contained in:
parent
c06ed65f2a
commit
63a7a69b89
@ -1373,6 +1373,10 @@ retcode_initialize( void )
|
||||
"retcode: register_at failed\n", 0, 0, 0 );
|
||||
return code;
|
||||
}
|
||||
|
||||
#ifndef LDAP_DEVEL
|
||||
(*retcode_at[ i ].ad)->ad_type->sat_flags |= SLAP_AT_HIDE;
|
||||
#endif /* LDAP_DEVEL */
|
||||
}
|
||||
|
||||
for ( i = 0; retcode_oc[ i ].desc != NULL; i++ ) {
|
||||
@ -1382,6 +1386,10 @@ retcode_initialize( void )
|
||||
"retcode: register_oc failed\n", 0, 0, 0 );
|
||||
return code;
|
||||
}
|
||||
|
||||
#ifndef LDAP_DEVEL
|
||||
(*retcode_oc[ i ].oc)->soc_flags |= SLAP_OC_HIDE;
|
||||
#endif /* LDAP_DEVEL */
|
||||
}
|
||||
|
||||
retcode.on_bi.bi_type = "retcode";
|
||||
|
Loading…
Reference in New Issue
Block a user