mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s4:libcli:smb2: store the share capabilites in the smb2_tree object
This commit is contained in:
parent
ac43937ce4
commit
1451e5f663
@ -242,6 +242,7 @@ static void smb2_connect_tcon_done(struct smb2_request *smb2req)
|
||||
}
|
||||
|
||||
state->tree->tid = state->tcon.out.tid;
|
||||
state->tree->capabilities = state->tcon.out.capabilities;
|
||||
|
||||
tevent_req_done(req);
|
||||
}
|
||||
|
@ -107,6 +107,7 @@ struct smb2_transport {
|
||||
struct smb2_tree {
|
||||
struct smb2_session *session;
|
||||
uint32_t tid;
|
||||
uint32_t capabilities;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -295,6 +295,7 @@ bool torture_smb2_tree_connect(struct torture_context *tctx,
|
||||
}
|
||||
|
||||
tree->tid = tcon.out.tid;
|
||||
tree->capabilities = tcon.out.capabilities;
|
||||
|
||||
*_tree = tree;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user