diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-11-16 18:32:17 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-11-17 10:38:01 +1100 |
commit | 41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e (patch) | |
tree | c2b99329d1dc42e05443bb7b3b3949390debcf93 /source4/dsdb/samdb/ldb_modules/util.h | |
parent | a2a8dc515cca833c442cc3bb4cf90682e8ba147d (diff) | |
download | samba-41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e.tar.gz samba-41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e.tar.bz2 samba-41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e.zip |
s4:dsdb Add 'dsdb_flags' to dsdb_module_search() to enable often-used features
These flags, also on dsdb_module_search_dn() allow us to add commonly
set controls to this pre-packaged blocking search, without rebuilding
the whole function in each caller.
Andrew Bartlett
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/util.h')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/util.h b/source4/dsdb/samdb/ldb_modules/util.h index 0a1ab83c6d..b612c64acc 100644 --- a/source4/dsdb/samdb/ldb_modules/util.h +++ b/source4/dsdb/samdb/ldb_modules/util.h @@ -20,3 +20,8 @@ */ #include "dsdb/samdb/ldb_modules/util_proto.h" + +#define DSDB_SEARCH_SEARCH_ALL_PARTITIONS 0x0001 +#define DSDB_SEARCH_SHOW_DELETED 0x0002 +#define DSDB_SEARCH_SHOW_DN_IN_STORAGE_FORMAT 0x0004 +#define DSDB_SEARCH_SHOW_EXTENDED_DN 0x0010 |