summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorNadezhda Ivanova <nadezhda.ivanova@postpath.com>2009-12-18 15:40:11 +0200
committerNadezhda Ivanova <nadezhda.ivanova@postpath.com>2009-12-18 15:40:11 +0200
commit39616c0ea2e2268d7b403bdb5d1a1250c7e44653 (patch)
tree62547b5c082855ae81566b7e323d55436228f778 /source4/lib/ldb
parent72d68acbf59aa8531cc132551cc8e8313b7dc3b7 (diff)
downloadsamba-39616c0ea2e2268d7b403bdb5d1a1250c7e44653.tar.gz
samba-39616c0ea2e2268d7b403bdb5d1a1250c7e44653.tar.bz2
samba-39616c0ea2e2268d7b403bdb5d1a1250c7e44653.zip
Added oid for AS_SYSTEM control, used to bypass access checks for system operations.
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/include/ldb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 81ec9ee848..c8bfa24832 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -477,6 +477,12 @@ typedef int (*ldb_qsort_cmp_fn_t) (void *v1, void *v2, void *opaque);
*/
#define LDB_CONTROL_REVEAL_INTERNALS "1.3.6.1.4.1.7165.4.3.6"
+/**
+ LDB_CONTROL_AS_SYSTEM is used to skip access checks on operations
+ that are performed by the system, but with a user's credentials, e.g.
+ updating prefix map
+*/
+#define LDB_CONTROL_AS_SYSTEM_OID "1.3.6.1.4.1.7165.4.3.7"
/**
OID for the paged results control. This control is included in the