H4: schemacheck { on | off }
This option turns schema checking on or off. If schema
-checking is on, entries added or modified will be checked to
-ensure they obey the schema rules implied by their object
-class(es) as defined by the corresponding objectclass
+checking is on, entries added or modified through LDAP operations
+will be checked to ensure they obey the schema rules implied
+by their object class(es) as defined by the corresponding objectclass
option(s). If schema checking is off this check is not done.
\Default:
-E: schemacheck off
+E: schemacheck on
H4: sizelimit <integer>
cannot find a local database to handle a request.
.TP
.B schemacheck { on | off }
-Turn schema checking on or off. The default is off.
+Turn schema checking on or off. The default is on.
.TP
.B sizelimit <integer>
Specify the maximum number of entries to return from a search operation.
fname, lineno, 0 );
return( 1 );
}
- if ( strcasecmp( cargv[1], "on" ) == 0 ) {
- global_schemacheck = 1;
- } else {
+ if ( strcasecmp( cargv[1], "off" ) == 0 ) {
global_schemacheck = 0;
+ } else {
+ global_schemacheck = 1;
}
/* specify access control info */
#include "slap.h"
struct objclass *global_oc;
-int global_schemacheck;
+int global_schemacheck = 1; /* schemacheck on is default */
static void oc_usage(void);