diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-21 01:41:16 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-28 18:06:57 +0200 |
commit | 5894f059b6f97a9dfd63f6e9ab544c636dd58665 (patch) | |
tree | 769b5a20631b511bd2aefbe6abffa8b79820c27e /src/providers/ldap/ldap_common.h | |
parent | 8ca73915a3bf60331468fed6b3b38652c979f95d (diff) | |
download | sssd-5894f059b6f97a9dfd63f6e9ab544c636dd58665.tar.gz sssd-5894f059b6f97a9dfd63f6e9ab544c636dd58665.tar.bz2 sssd-5894f059b6f97a9dfd63f6e9ab544c636dd58665.zip |
LDAP: Convert enumeration to the ptask API
https://fedorahosted.org/sssd/ticket/1942
Identity providers other than LDAP need to customize the enumeration in
different ways while sharing the way the task is scheduled etc. The
easiest way to accomplish it is to leverage the recently introduced
ptask framework.
Diffstat (limited to 'src/providers/ldap/ldap_common.h')
-rw-r--r-- | src/providers/ldap/ldap_common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h index c9b2f663..7ba8e955 100644 --- a/src/providers/ldap/ldap_common.h +++ b/src/providers/ldap/ldap_common.h @@ -165,7 +165,9 @@ int ldap_get_autofs_options(TALLOC_CTX *memctx, const char *conf_path, struct sdap_options *opts); -int ldap_id_enumerate_set_timer(struct sdap_id_ctx *ctx, struct timeval tv); +errno_t ldap_setup_enumeration(struct sdap_id_ctx *ctx, + struct sdap_id_conn_ctx *conn, + struct sdap_domain *sdom); int ldap_id_cleanup_set_timer(struct sdap_id_ctx *ctx, struct timeval tv); void sdap_mark_offline(struct sdap_id_ctx *ctx); |