summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_groupshow.c5
-rw-r--r--src/tools/sss_sync_ops.c1
-rw-r--r--src/tools/tools_util.h1
3 files changed, 1 insertions, 6 deletions
diff --git a/src/tools/sss_groupshow.c b/src/tools/sss_groupshow.c
index b6fb1a15..3f72fcef 100644
--- a/src/tools/sss_groupshow.c
+++ b/src/tools/sss_groupshow.c
@@ -267,7 +267,6 @@ done:
struct group_show_state {
struct tevent_context *ev;
struct sysdb_ctx *sysdb;
- struct sysdb_handle *handle;
struct sss_domain_info *domain;
struct group_info *root;
@@ -294,7 +293,6 @@ static int group_show_trim_memberof(TALLOC_CTX *mem_ctx,
struct tevent_req *group_show_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct sysdb_ctx *sysdb,
- struct sysdb_handle *handle,
struct sss_domain_info *domain,
bool recursive,
const char *name)
@@ -315,7 +313,6 @@ struct tevent_req *group_show_send(TALLOC_CTX *mem_ctx,
}
state->ev = ev;
state->sysdb = sysdb;
- state->handle = handle;
state->domain = domain;
state->recursive = recursive;
@@ -876,7 +873,7 @@ int main(int argc, const char **argv)
goto fini;
}
- req = group_show_send(tctx, tctx->ev, tctx->sysdb, tctx->handle,
+ req = group_show_send(tctx, tctx->ev, tctx->sysdb,
tctx->local, pc_recursive, tctx->octx->name);
if (!req) {
ERROR("Cannot initiate search\n");
diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c
index f3721a01..59e5c604 100644
--- a/src/tools/sss_sync_ops.c
+++ b/src/tools/sss_sync_ops.c
@@ -114,7 +114,6 @@ done:
struct user_mod_state {
struct tevent_context *ev;
struct sysdb_ctx *sysdb;
- struct sysdb_handle *handle;
struct sysdb_attrs *attrs;
struct ldb_dn *member_dn;
diff --git a/src/tools/tools_util.h b/src/tools/tools_util.h
index ac882868..2996f5c1 100644
--- a/src/tools/tools_util.h
+++ b/src/tools/tools_util.h
@@ -47,7 +47,6 @@ struct tools_ctx {
struct ops_ctx *octx;
- struct sysdb_handle *handle;
bool transaction_done;
int error;
};