1
0
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:
Michael Adam 2012-03-01 00:29:51 +01:00
parent ac43937ce4
commit 1451e5f663
3 changed files with 3 additions and 0 deletions

View File

@ -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);
}

View File

@ -107,6 +107,7 @@ struct smb2_transport {
struct smb2_tree {
struct smb2_session *session;
uint32_t tid;
uint32_t capabilities;
};
/*

View File

@ -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;