summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-11-28 13:30:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:28:37 -0500
commita7795460a90d85ddcf42bf4eeafd4e4ee6a02636 (patch)
tree6ca47d37d06df7a470fcff75fe4e07ab605afb12 /source4/libnet
parent10573be26e6525dd622ecb94c00ed1d09a8ff2eb (diff)
downloadsamba-a7795460a90d85ddcf42bf4eeafd4e4ee6a02636.tar.gz
samba-a7795460a90d85ddcf42bf4eeafd4e4ee6a02636.tar.bz2
samba-a7795460a90d85ddcf42bf4eeafd4e4ee6a02636.zip
r19931: remove unused struct members
metze (This used to be commit 45d5da47287a9e92b88db875d9ed447c60b57f88)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet.c6
-rw-r--r--source4/libnet/libnet.h4
2 files changed, 0 insertions, 10 deletions
diff --git a/source4/libnet/libnet.c b/source4/libnet/libnet.c
index 2d55905b37..24e291b6f8 100644
--- a/source4/libnet/libnet.c
+++ b/source4/libnet/libnet.c
@@ -49,11 +49,5 @@ struct libnet_context *libnet_context_init(struct event_context *ev)
ZERO_STRUCT(ctx->samr);
ZERO_STRUCT(ctx->lsa);
- /* currently opened user */
- ZERO_STRUCT(ctx->user_handle);
-
- /* init pipe pointer */
- ctx->pipe = NULL;
-
return ctx;
}
diff --git a/source4/libnet/libnet.h b/source4/libnet/libnet.h
index e394c1c88e..c70c419a2d 100644
--- a/source4/libnet/libnet.h
+++ b/source4/libnet/libnet.h
@@ -26,8 +26,6 @@ struct libnet_context {
*/
struct cli_credentials *cred;
- struct dcerpc_pipe *pipe;
-
/* samr connection parameters - opened handles and related properties */
struct {
struct dcerpc_pipe *pipe;
@@ -36,8 +34,6 @@ struct libnet_context {
struct policy_handle handle;
} samr;
- struct policy_handle user_handle;
-
/* lsa connection parameters - opened handles and related properties */
struct {
struct dcerpc_pipe *pipe;