mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
NO_SCHEMA_CHECK backend flag
This commit is contained in:
parent
27b8d71cbb
commit
286986c4e8
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user