summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-03-21 00:52:34 -0400
committerStephen Gallagher <sgallagh@redhat.com>2010-04-12 09:22:16 -0400
commite5e32021c23f3726d68ee756e8e3de48b3214063 (patch)
treec2a04ab91bd3d21637ce4c3629d4685e27b64274 /src/tools
parentaacf8781c61e928c74fcc89f02225374b283b872 (diff)
downloadsssd_unused-e5e32021c23f3726d68ee756e8e3de48b3214063.tar.gz
sssd_unused-e5e32021c23f3726d68ee756e8e3de48b3214063.tar.xz
sssd_unused-e5e32021c23f3726d68ee756e8e3de48b3214063.zip
sysdb: remove remaining traces of sysdb_handle
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;
};