diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-22 11:02:32 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-28 18:06:57 +0200 |
commit | 66edf42c51f8591c93204b6490c103fa51346f47 (patch) | |
tree | 4d60cd3434c1ce2236e488a154720bdde2e75935 /src/providers/ldap/sdap.h | |
parent | 34a63c4a00096da7a8e09d49b5970bb1f807eddc (diff) | |
download | sssd-66edf42c51f8591c93204b6490c103fa51346f47.tar.gz sssd-66edf42c51f8591c93204b6490c103fa51346f47.tar.bz2 sssd-66edf42c51f8591c93204b6490c103fa51346f47.zip |
LDAP: Make the cleanup task reusable for subdomains
Instead of always performing the cleanup on the main domain, the task
now accepts a sdap_domain structure to perform the cleanup on. This
change will make the cleanup task reusable for subdomains.
Diffstat (limited to 'src/providers/ldap/sdap.h')
-rw-r--r-- | src/providers/ldap/sdap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h index 5da27fe8..441ac904 100644 --- a/src/providers/ldap/sdap.h +++ b/src/providers/ldap/sdap.h @@ -384,9 +384,12 @@ struct sdap_domain { /* Need to modify the list from a talloc destructor */ struct sdap_domain **head; + /* Enumeration and cleanup periodic task */ struct be_ptask *enum_task; /* enumeration loop timer */ struct timeval last_enum; + /* cleanup loop timer */ + struct timeval last_purge; }; struct sdap_options { |