diff options
author | Simo Sorce <simo@redhat.com> | 2012-07-20 12:36:43 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-08-01 22:24:44 +0200 |
commit | efea50efda58be66638e5d38c8e57fdf9992f204 (patch) | |
tree | d4083a388034417ee130369a9ffcc5c9052028fe /src/providers/data_provider_be.c | |
parent | 87ed72b47859e673b636c85f35b85f1546c7ed3d (diff) | |
download | sssd-efea50efda58be66638e5d38c8e57fdf9992f204.tar.gz sssd-efea50efda58be66638e5d38c8e57fdf9992f204.tar.xz sssd-efea50efda58be66638e5d38c8e57fdf9992f204.zip |
Change refreshing of subdomains
This patch keeps a local copy of the subdomains in the ipa subdomains plugin
context.
This has 2 advantages:
1. allows to check if anything changed w/o always hitting the sysdb.
2. later will allows us to dump this information w/o having to retrieve it
again. The timestamp also allows to avoid refreshing too often.
Diffstat (limited to 'src/providers/data_provider_be.c')
-rw-r--r-- | src/providers/data_provider_be.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c index ba43d7d49..0717bff34 100644 --- a/src/providers/data_provider_be.c +++ b/src/providers/data_provider_be.c @@ -414,7 +414,6 @@ static int be_get_subdomains(DBusMessage *message, struct sbus_connection *conn) } req->force = force; req->domain_hint = talloc_strdup(req, domain_hint); - req->domain_list = NULL; if (!req->domain_hint) { err_maj = DP_ERR_FATAL; err_min = ENOMEM; |