summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-05 11:38:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:24 -0500
commit8ac0237eba1831c8ba6d01c2b9d8402636a21bb2 (patch)
treea1985decd8420a9f8bb2e5b8d3f0c297c7e0311f /source4/lib/ldb/include
parent817610f38540fb99595f6e3b77b9f6696f9e3b3f (diff)
downloadsamba-8ac0237eba1831c8ba6d01c2b9d8402636a21bb2.tar.gz
samba-8ac0237eba1831c8ba6d01c2b9d8402636a21bb2.tar.bz2
samba-8ac0237eba1831c8ba6d01c2b9d8402636a21bb2.zip
r17420: add client support for the LDAP_SERVER_DOMAIN_SCOPE control
metze (This used to be commit 84e74a759cfa49ebc8b4ba1b8e729d6d920fc55a)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 4a04c3df44..13ad473b0b 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -430,6 +430,13 @@ typedef int (*ldb_qsort_cmp_fn_t) (void *v1, void *v2, void *opaque);
#define LDB_CONTROL_SD_FLAGS_OID "1.2.840.113556.1.4.801"
/**
+ OID for specifying an advanced scope for the search (one partition)
+
+ \sa <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_domain_scope_oid.asp">Microsoft documentation of this OID</a>
+*/
+#define LDB_CONTROL_DOMAIN_SCOPE_OID "1.2.840.113556.1.4.1339"
+
+/**
OID for specifying an advanced scope for a search
\sa <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ldap/ldap_server_search_options_oid.asp">Microsoft documentation of this OID</a>