Skip to content
Snippets Groups Projects
Commit 2afa75e3 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

hide (experimental) schema

parent 26e4b247
No related branches found
No related tags found
No related merge requests found
...@@ -1373,6 +1373,10 @@ retcode_initialize( void ) ...@@ -1373,6 +1373,10 @@ retcode_initialize( void )
"retcode: register_at failed\n", 0, 0, 0 ); "retcode: register_at failed\n", 0, 0, 0 );
return code; 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++ ) { for ( i = 0; retcode_oc[ i ].desc != NULL; i++ ) {
...@@ -1382,6 +1386,10 @@ retcode_initialize( void ) ...@@ -1382,6 +1386,10 @@ retcode_initialize( void )
"retcode: register_oc failed\n", 0, 0, 0 ); "retcode: register_oc failed\n", 0, 0, 0 );
return code; return code;
} }
#ifndef LDAP_DEVEL
(*retcode_oc[ i ].oc)->soc_flags |= SLAP_OC_HIDE;
#endif /* LDAP_DEVEL */
} }
retcode.on_bi.bi_type = "retcode"; retcode.on_bi.bi_type = "retcode";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment