From 286986c4e8b2981d42e951b1dcbde8a40792d3e1 Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Wed, 27 Aug 2003 16:40:26 +0000 Subject: [PATCH] NO_SCHEMA_CHECK backend flag --- servers/slapd/config.c | 1 + servers/slapd/slap.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index c71b9aca2c..c619eb5156 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -2800,6 +2800,7 @@ add_syncrepl( "Config: ** successfully added syncrepl \"%s\"\n", si->provideruri == NULL ? "(null)" : si->provideruri, 0, 0 ); #endif + be->be_flags |= SLAP_BFLAG_NO_SCHEMA_CHECK; si->be = be; } } diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 158375fb10..ee46eac3cc 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -1395,6 +1395,7 @@ struct slap_backend_db { #endif #define SLAP_BFLAG_NOLASTMOD 0x0001U +#define SLAP_BFLAG_NO_SCHEMA_CHECK 0x0002U #define SLAP_BFLAG_GLUE_INSTANCE 0x0010U /* a glue backend */ #define SLAP_BFLAG_GLUE_SUBORDINATE 0x0020U /* child of a glue hierarchy */ #define SLAP_BFLAG_GLUE_LINKED 0x0040U /* child is connected to parent */ @@ -1406,6 +1407,7 @@ struct slap_backend_db { #define SLAP_BFLAG_DYNAMIC 0x8000U slap_mask_t be_flags; #define SLAP_LASTMOD(be) (!((be)->be_flags & SLAP_BFLAG_NOLASTMOD)) +#define SLAP_NO_SCHEMA_CHECK (!((be)->be_flags & SLAP_BFLAG_NO_SCHEMA_CHECK)) #define SLAP_GLUE_INSTANCE(be) ((be)->be_flags & SLAP_BFLAG_GLUE_INSTANCE) #define SLAP_GLUE_SUBORDINATE(be) \ ((be)->be_flags & SLAP_BFLAG_GLUE_SUBORDINATE) -- 2.39.5