Skip to content
Snippets Groups Projects
Commit 01b96724 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Make 'schemacheck on' the default.

parent 38098bcb
No related branches found
No related tags found
No related merge requests found
......@@ -175,14 +175,14 @@ contain a host part and optionally a distinguished name part.
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>
......
......@@ -195,7 +195,7 @@ Specify the referral to pass back when
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.
......
......@@ -359,10 +359,10 @@ read_config( char *fname )
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 */
......
......@@ -10,7 +10,7 @@
#include "slap.h"
struct objclass *global_oc;
int global_schemacheck;
int global_schemacheck = 1; /* schemacheck on is default */
static void oc_usage(void);
......
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