diff options
author | Sumit Bose <sbose@redhat.com> | 2015-05-27 18:23:49 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-06-19 18:48:13 +0200 |
commit | caacea0dbfdc92613ae992681053b1d2665b80ca (patch) | |
tree | d4d68bac948aa1cd23b5ebdf0ee91def503856be /src/providers/data_provider.h | |
parent | 7d8b7d82f0a91ed656320577fc781f24a66db9f8 (diff) | |
download | sssd-caacea0dbfdc92613ae992681053b1d2665b80ca.tar.gz sssd-caacea0dbfdc92613ae992681053b1d2665b80ca.tar.xz sssd-caacea0dbfdc92613ae992681053b1d2665b80ca.zip |
LDAP/IPA: add user lookup by certificate
Related to https://fedorahosted.org/sssd/ticket/2596
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/providers/data_provider.h')
-rw-r--r-- | src/providers/data_provider.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h index 657d2b798..13a700308 100644 --- a/src/providers/data_provider.h +++ b/src/providers/data_provider.h @@ -128,6 +128,7 @@ #define BE_FILTER_ENUM 3 #define BE_FILTER_SECID 4 #define BE_FILTER_UUID 5 +#define BE_FILTER_CERT 6 #define BE_REQ_USER 0x0001 #define BE_REQ_GROUP 0x0002 @@ -140,14 +141,17 @@ #define BE_REQ_HOST 0x0010 #define BE_REQ_BY_SECID 0x0011 #define BE_REQ_USER_AND_GROUP 0x0012 -#define BE_REQ_BY_UUID 0x0013 +#define BE_REQ_BY_UUID 0x0013 +#define BE_REQ_BY_CERT 0x0014 #define BE_REQ_TYPE_MASK 0x00FF #define BE_REQ_FAST 0x1000 #define DP_SEC_ID "secid" +#define DP_CERT "cert" /* sizeof() counts the trailing \0 so we must substract 1 for the string * length */ #define DP_SEC_ID_LEN (sizeof(DP_SEC_ID) - 1) +#define DP_CERT_LEN (sizeof(DP_CERT) - 1) #define EXTRA_NAME_IS_UPN "U" #define EXTRA_INPUT_MAYBE_WITH_VIEW "V" |