From 849d042dd88e8e7de2748524b054b350af06a859 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 2 Aug 2011 17:16:44 +1000 Subject: ldb: added a new always-fail ldap extended match OID this is used when rewriting filter rules to replace a filter rule with one that is guaranteed not to match Pair-Programmed-With: Andrew Bartlett --- lib/ldb/include/ldb_module.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/ldb/include') diff --git a/lib/ldb/include/ldb_module.h b/lib/ldb/include/ldb_module.h index fecf0c7ede..2acd8f364b 100644 --- a/lib/ldb/include/ldb_module.h +++ b/lib/ldb/include/ldb_module.h @@ -52,6 +52,8 @@ struct ldb_module; /* force single value checking on this attribute */ #define LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK 0x80 +/* an extended match rule that always fails to match */ +#define SAMBA_LDAP_MATCH_ALWAYS_FALSE "1.3.6.1.4.1.7165.4.5.1" /* these function pointers define the operations that a ldb module can intercept -- cgit