diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-04 20:27:43 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-04 20:35:44 +1100 |
commit | e606298631d9e4659e677041095511c1c353a4b5 (patch) | |
tree | c5d1a6014138acab3fb30c0705cd1a0ef661579e /source4/lib/ldb/include | |
parent | 1ab7bd1bfbfe5a27c91315d98c4e4949608d83e9 (diff) | |
download | samba-e606298631d9e4659e677041095511c1c353a4b5.tar.gz samba-e606298631d9e4659e677041095511c1c353a4b5.tar.bz2 samba-e606298631d9e4659e677041095511c1c353a4b5.zip |
s4-ldb: implement LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK
this disables the single value checking for one attribute. It is much
more specific than a general RELAX control, and also more efficient. I
think we should try to have more precise overrides like this, rather
than using RELAX as a general purpose override
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb_module.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb_module.h b/source4/lib/ldb/include/ldb_module.h index f10e584f87..e88c887f20 100644 --- a/source4/lib/ldb/include/ldb_module.h +++ b/source4/lib/ldb/include/ldb_module.h @@ -43,6 +43,9 @@ struct ldb_module; */ #define LDB_FLAG_INTERNAL_DISABLE_VALIDATION 0x10 +/* disable any single value checking on this attribute */ +#define LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK 0x20 + /* these function pointers define the operations that a ldb module can intercept |