From 2cc60b61c8d487221f88703b1784a92d9a1525e4 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 1 Apr 2011 13:32:16 +0200 Subject: 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 --- src/util/sss_ldap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util/sss_ldap.h') diff --git a/src/util/sss_ldap.h b/src/util/sss_ldap.h index 223f6ecdb..b77a2031d 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); -- cgit