From 41ce3dc0c3cbfdf06f0ffd3738c34ff8c22f450e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 16 Nov 2009 18:32:17 +1100 Subject: 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 --- source4/dsdb/samdb/ldb_modules/util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/dsdb/samdb/ldb_modules/util.h') 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 -- cgit