s4/dsdb: Add DSDB_FLAG_NEXT_MODULE flag
authorKamen Mazdrashki <kamenim@samba.org>
Mon, 28 Jun 2010 18:07:51 +0000 (21:07 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 2 Jul 2010 00:07:09 +0000 (10:07 +1000)
Although it is not currently used in implementation,
my intention is for callers to clearly state what
action they want to execute.

Currently when a caller wants to pass the call to the next
module in the chain, this flag is either omitted or 0 is used
(which is somewhat hacky, isn't it)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/util.h

index 9ba2e33f56f208078f95d2d7264820bb790153dc..8634f76d87e1d429e96e373563e5f7cd98abad85 100644 (file)
@@ -30,6 +30,7 @@ struct dsdb_fsmo_extended_op;
 
 /* extend the dsdb_request_add_controls() flags for module
    specific functions */
+#define DSDB_FLAG_NEXT_MODULE                0x00100000
 #define DSDB_FLAG_OWN_MODULE                 0x00400000
 #define DSDB_FLAG_TOP_MODULE                 0x00800000