summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-20 12:08:50 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-20 18:52:28 +0200
commit065579b4c6a05de7fd867dbe0eb736b86a6bc5f7 (patch)
treee2b0562ac859063c600e576acb60d5eb0f02a850 /source4/lib/ldb/include
parente062e7300bd2993b4a5d641ce3128f9c461f6328 (diff)
downloadsamba-065579b4c6a05de7fd867dbe0eb736b86a6bc5f7.tar.gz
samba-065579b4c6a05de7fd867dbe0eb736b86a6bc5f7.tar.bz2
samba-065579b4c6a05de7fd867dbe0eb736b86a6bc5f7.zip
ldb:ldb.h - add classifications to the control declarations
This makes it easier to understand which standard specifies which control.
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 9958325f90..2b75d449d9 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -456,13 +456,7 @@ const struct ldb_dn_extended_syntax *ldb_dn_extended_syntax_by_name(struct ldb_c
/* sorting helpers */
typedef int (*ldb_qsort_cmp_fn_t) (void *v1, void *v2, void *opaque);
-/**
- OID for the allowing client to request temporary relaxed
- enforcement of constraints of the x.500 model.
-
- \sa <a href="http://opends.dev.java.net/public/standards/draft-zeilenga-ldap-managedit.txt">draft managedit</a>.
-*/
-#define LDB_CONTROL_RELAX_OID "1.3.6.1.4.1.4203.666.5.12"
+/* Individual controls */
/**
OID for getting and manipulating attributes from the ldb
@@ -493,6 +487,8 @@ typedef int (*ldb_qsort_cmp_fn_t) (void *v1, void *v2, void *opaque);
*/
#define LDB_CONTROL_AS_SYSTEM_OID "1.3.6.1.4.1.7165.4.3.7"
+/* AD controls */
+
/**
OID for the paged results control. This control is included in the
searchRequest and searchResultDone messages as part of the controls
@@ -658,6 +654,16 @@ typedef int (*ldb_qsort_cmp_fn_t) (void *v1, void *v2, void *opaque);
*/
#define LDB_EXTENDED_DYNAMIC_OID "1.3.6.1.4.1.1466.101.119.1"
+/* Other standardised controls */
+
+/**
+ OID for the allowing client to request temporary relaxed
+ enforcement of constraints of the x.500 model.
+
+ \sa <a href="http://opends.dev.java.net/public/standards/draft-zeilenga-ldap-managedit.txt">draft managedit</a>.
+*/
+#define LDB_CONTROL_RELAX_OID "1.3.6.1.4.1.4203.666.5.12"
+
/*
OID for LDAP Extended Operation PASSWORD_CHANGE.