diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-09-18 16:51:15 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-24 15:00:11 +0200 |
commit | d0e0e73e86f2afdb7f8fefbed70fda8d77b1c25a (patch) | |
tree | 445f1806f9f1344dfa3b4f05b5c9294cdc541696 /src/providers/ldap/sdap_async.h | |
parent | e6ba224432bfcd64802222a3544bc38c179727cd (diff) | |
download | sssd-d0e0e73e86f2afdb7f8fefbed70fda8d77b1c25a.tar.gz sssd-d0e0e73e86f2afdb7f8fefbed70fda8d77b1c25a.tar.xz sssd-d0e0e73e86f2afdb7f8fefbed70fda8d77b1c25a.zip |
AD: Optimize initgroups lookups with tokenGroups
https://fedorahosted.org/sssd/ticket/1355
Diffstat (limited to 'src/providers/ldap/sdap_async.h')
-rw-r--r-- | src/providers/ldap/sdap_async.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async.h b/src/providers/ldap/sdap_async.h index d024e30a9..8c16d94e6 100644 --- a/src/providers/ldap/sdap_async.h +++ b/src/providers/ldap/sdap_async.h @@ -31,6 +31,8 @@ #include "providers/ldap/sdap_id_op.h" #include "providers/fail_over.h" +#define AD_TOKENGROUPS_ATTR "tokenGroups" + struct tevent_req *sdap_connect_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, @@ -275,4 +277,18 @@ sdap_get_ad_match_rule_initgroups_send(TALLOC_CTX *mem_ctx, errno_t sdap_get_ad_match_rule_initgroups_recv(struct tevent_req *req); + +struct tevent_req * +sdap_get_ad_tokengroups_initgroups_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct sdap_options *opts, + struct sysdb_ctx *sysdb, + struct sdap_handle *sh, + const char *name, + const char *orig_dn, + int timeout); + +errno_t +sdap_get_ad_tokengroups_initgroups_recv(struct tevent_req *req); + #endif /* _SDAP_ASYNC_H_ */ |