From 0caf347098913e9d224d1db4b48887e2b78bae03 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 17 Aug 2010 12:04:45 +1000 Subject: s4-ldb: added LDB_FLAG_INTERNAL_DISABLE_VALIDATION When this flag is set on an element in an add/modify request then the normal validate_ldb() call that checks the element against schema constraints is disabled Pair-Programmed-With: Andrew Bartlett --- source4/lib/ldb/include/ldb_module.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/lib/ldb/include/ldb_module.h') diff --git a/source4/lib/ldb/include/ldb_module.h b/source4/lib/ldb/include/ldb_module.h index 55121a8106..18982b975f 100644 --- a/source4/lib/ldb/include/ldb_module.h +++ b/source4/lib/ldb/include/ldb_module.h @@ -38,6 +38,12 @@ struct ldb_context; struct ldb_module; +/** + internal flag bits on message elements. Must be within LDB_FLAG_INTERNAL_MASK + */ +#define LDB_FLAG_INTERNAL_DISABLE_VALIDATION 0x10 + + /* these function pointers define the operations that a ldb module can intercept */ -- cgit