summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-01-23 09:48:20 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-03-25 00:45:28 +0100
commitc2f731e324f613961a1d051b13b09a0d14a1f13a (patch)
treee9105c16d139a468bd66bd38a6c95b649208cc69 /source4/librpc/rpc
parent983ec866afeb8ec40f29ad7523267c853712626e (diff)
downloadsamba-c2f731e324f613961a1d051b13b09a0d14a1f13a.tar.gz
s4:librpc/rpc: remove unused dcecli_connection->binding_string
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r--source4/librpc/rpc/dcerpc.c1
-rw-r--r--source4/librpc/rpc/dcerpc.h1
-rw-r--r--source4/librpc/rpc/dcerpc_util.c3
3 files changed, 0 insertions, 5 deletions
diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c
index 31dca6a396d..17371efd8a7 100644
--- a/source4/librpc/rpc/dcerpc.c
+++ b/source4/librpc/rpc/dcerpc.c
@@ -142,7 +142,6 @@ static struct dcecli_connection *dcerpc_connection_init(TALLOC_CTX *mem_ctx,
c->security_state.auth_info = NULL;
c->security_state.session_key = dcerpc_generic_session_key;
c->security_state.generic_state = NULL;
- c->binding_string = NULL;
c->flags = 0;
/*
* Windows uses 5840 for ncacn_ip_tcp,
diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h
index 6d9413aa47f..18be157967f 100644
--- a/source4/librpc/rpc/dcerpc.h
+++ b/source4/librpc/rpc/dcerpc.h
@@ -63,7 +63,6 @@ struct dcecli_connection {
uint32_t srv_max_recv_frag;
uint32_t flags;
struct dcecli_security security_state;
- const char *binding_string;
struct tevent_context *event_ctx;
struct tevent_immediate *io_trigger;
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c
index f6273942582..7604ad6dfd8 100644
--- a/source4/librpc/rpc/dcerpc_util.c
+++ b/source4/librpc/rpc/dcerpc_util.c
@@ -622,9 +622,6 @@ struct composite_context *dcerpc_pipe_auth_send(struct dcerpc_pipe *p,
if (DEBUGLVL(100)) {
conn->flags |= DCERPC_DEBUG_PRINT_BOTH;
}
-
- /* remember the binding string for possible secondary connections */
- conn->binding_string = dcerpc_binding_string(p, binding);
if (cli_credentials_is_anonymous(s->credentials)) {
auth_none_req = dcerpc_bind_auth_none_send(c, s->pipe, s->table);