diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-17 12:04:45 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-08-17 21:21:50 +1000 |
commit | 0caf347098913e9d224d1db4b48887e2b78bae03 (patch) | |
tree | 0b1b41f7f3d93be8c449d9dfac25186b9cd20b9e /source4/lib/ldb/include | |
parent | 9e27201b24106babc7ac2400f7f063f438b0ddcd (diff) | |
download | samba-0caf347098913e9d224d1db4b48887e2b78bae03.tar.gz samba-0caf347098913e9d224d1db4b48887e2b78bae03.tar.bz2 samba-0caf347098913e9d224d1db4b48887e2b78bae03.zip |
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 <abartlet@samba.org>
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb_module.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 */ |