summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-09 17:33:51 -0500
committerJakub Hrozek <jhrozek@redhat.com>2013-01-21 22:17:33 +0100
commit697160f588c509982e9b504ecb857cea7dd308a5 (patch)
tree0d5ccd71563e01e89a0c1490910b3961bbf26c6f
parent18cb0d6489d01a61a2f7bf53815f53a58e9ade0d (diff)
downloadsssd-697160f588c509982e9b504ecb857cea7dd308a5.tar.gz
sssd-697160f588c509982e9b504ecb857cea7dd308a5.tar.xz
sssd-697160f588c509982e9b504ecb857cea7dd308a5.zip
Remove sysdb arg from ipa_hbac_service_info_send()
-rw-r--r--src/providers/ipa/ipa_access.c1
-rw-r--r--src/providers/ipa/ipa_hbac_private.h1
-rw-r--r--src/providers/ipa/ipa_hbac_services.c3
3 files changed, 0 insertions, 5 deletions
diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c
index ca9ea2773..3f84d6c5e 100644
--- a/src/providers/ipa/ipa_access.c
+++ b/src/providers/ipa/ipa_access.c
@@ -375,7 +375,6 @@ static void hbac_get_service_info_step(struct tevent_req *req)
/* Get services and service groups */
req = ipa_hbac_service_info_send(hbac_ctx,
hbac_ctx_ev(hbac_ctx),
- hbac_ctx_sysdb(hbac_ctx),
sdap_id_op_handle(hbac_ctx->sdap_op),
hbac_ctx_sdap_id_ctx(hbac_ctx)->opts,
hbac_ctx->search_bases);
diff --git a/src/providers/ipa/ipa_hbac_private.h b/src/providers/ipa/ipa_hbac_private.h
index 984ce90b5..d9d982229 100644
--- a/src/providers/ipa/ipa_hbac_private.h
+++ b/src/providers/ipa/ipa_hbac_private.h
@@ -115,7 +115,6 @@ get_ipa_hostgroupname(TALLOC_CTX *mem_ctx,
struct tevent_req *
ipa_hbac_service_info_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
- struct sysdb_ctx *sysdb,
struct sdap_handle *sh,
struct sdap_options *opts,
struct sdap_search_base **search_bases);
diff --git a/src/providers/ipa/ipa_hbac_services.c b/src/providers/ipa/ipa_hbac_services.c
index 72e6f1b6b..ace01fae2 100644
--- a/src/providers/ipa/ipa_hbac_services.c
+++ b/src/providers/ipa/ipa_hbac_services.c
@@ -26,7 +26,6 @@
struct ipa_hbac_service_state {
struct tevent_context *ev;
- struct sysdb_ctx *sysdb;
struct sdap_handle *sh;
struct sdap_options *opts;
const char **attrs;
@@ -59,7 +58,6 @@ ipa_hbac_servicegroup_info_done(struct tevent_req *subreq);
struct tevent_req *
ipa_hbac_service_info_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
- struct sysdb_ctx *sysdb,
struct sdap_handle *sh,
struct sdap_options *opts,
struct sdap_search_base **search_bases)
@@ -76,7 +74,6 @@ ipa_hbac_service_info_send(TALLOC_CTX *mem_ctx,
}
state->ev = ev;
- state->sysdb = sysdb;
state->sh = sh;
state->opts = opts;