diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-11-20 14:30:31 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-11-27 16:45:05 +0100 |
commit | 55750f010423b0548e9d6b8f5745d7ad5fc4b773 (patch) | |
tree | 064fcf065195774a55babeccdc159183e0259f4c | |
parent | fe0ad5c66884da5e7cba5c7b0d40a8c41cf6a63b (diff) | |
download | samba-55750f010423b0548e9d6b8f5745d7ad5fc4b773.tar.gz |
s4:libcli/smb_composite: use the options on the transport
These are the options which really belong to the connection
and might not be the the same as the hints given from the caller.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | source4/libcli/smb_composite/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb_composite/connect.c b/source4/libcli/smb_composite/connect.c index 14b53e5d402..d87d5ecae27 100644 --- a/source4/libcli/smb_composite/connect.c +++ b/source4/libcli/smb_composite/connect.c @@ -297,7 +297,7 @@ static NTSTATUS connect_send_negprot(struct composite_context *c, state->subreq = smb_raw_negotiate_send(state, state->transport->ev, state->transport, - io->in.options.max_protocol); + state->transport->options.max_protocol); NT_STATUS_HAVE_NO_MEMORY(state->subreq); tevent_req_set_callback(state->subreq, subreq_handler, c); state->stage = CONNECT_NEGPROT; |