summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-08-21 01:41:16 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 18:06:57 +0200
commit5894f059b6f97a9dfd63f6e9ab544c636dd58665 (patch)
tree769b5a20631b511bd2aefbe6abffa8b79820c27e /src/providers/ldap/sdap.h
parent8ca73915a3bf60331468fed6b3b38652c979f95d (diff)
downloadsssd-5894f059b6f97a9dfd63f6e9ab544c636dd58665.tar.gz
sssd-5894f059b6f97a9dfd63f6e9ab544c636dd58665.tar.xz
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/sdap.h')
-rw-r--r--src/providers/ldap/sdap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h
index f5f6d90aa..5da27fe87 100644
--- a/src/providers/ldap/sdap.h
+++ b/src/providers/ldap/sdap.h
@@ -384,6 +384,7 @@ struct sdap_domain {
/* Need to modify the list from a talloc destructor */
struct sdap_domain **head;
+ struct be_ptask *enum_task;
/* enumeration loop timer */
struct timeval last_enum;
};