summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-04-01 13:32:16 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-05-20 07:21:45 -0400
commit2cc60b61c8d487221f88703b1784a92d9a1525e4 (patch)
tree9c5b3a92c4f710c292184e3c1ce6db8784ae97a8 /src/util
parent0a4b0580d8f5de1733ea065553992edfcb793de5 (diff)
downloadsssd_unused-2cc60b61c8d487221f88703b1784a92d9a1525e4.tar.gz
sssd_unused-2cc60b61c8d487221f88703b1784a92d9a1525e4.tar.xz
sssd_unused-2cc60b61c8d487221f88703b1784a92d9a1525e4.zip
Add support for Attribute Scoped Queries
For more details on ASQ, see: http://msdn.microsoft.com/en-us/library/aa366976%28VS.85%29.aspx http://msdn.microsoft.com/en-us/library/aa746418%28v=VS.85%29.aspx
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sss_ldap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/sss_ldap.h b/src/util/sss_ldap.h
index 223f6ecd..b77a2031 100644
--- a/src/util/sss_ldap.h
+++ b/src/util/sss_ldap.h
@@ -38,6 +38,10 @@ int sss_ldap_get_diagnostic_msg(TALLOC_CTX *mem_ctx,
LDAP *ld,
char **_errmsg);
+#ifndef LDAP_SERVER_ASQ_OID
+#define LDAP_SERVER_ASQ_OID "1.2.840.113556.1.4.1504"
+#endif /* LDAP_SERVER_ASQ_OID */
+
int sss_ldap_control_create(const char *oid, int iscritical,
struct berval *value, int dupval,
LDAPControl **ctrlp);