It will be passed further down in the next commits.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
struct tevent_req *smb_connect_nego_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
+ struct loadparm_context *lp_ctx,
struct resolve_context *resolve_ctx,
const struct smbcli_options *options,
const char *socket_options,
*/
struct tevent_req *smb_connect_nego_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
+ struct loadparm_context *lp_ctx,
struct resolve_context *resolve_ctx,
const struct smbcli_options *options,
const char *socket_options,
struct pipe_np_smb_state {
struct smb_composite_connect conn;
struct dcerpc_pipe_connect io;
+ struct loadparm_context *lp_ctx;
};
c->private_data = s;
s->io = *io;
+ s->lp_ctx = lp_ctx;
conn = &s->conn;
if (smbXcli_conn_is_connected(s->io.smb.conn)) {
subreq = smb_connect_nego_send(s,
c->event_ctx,
+ s->lp_ctx,
s->io.resolve_ctx,
&conn->in.options,
conn->in.socket_options,