diff options
author | Michael Adam <obnox@samba.org> | 2012-03-01 00:29:51 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-03-03 17:03:07 +0100 |
commit | 1451e5f66312e37b07d82e48a615b39fe63bd6e3 (patch) | |
tree | e510c114e085f14267c8c206377c5fe951ee93e3 /source4/libcli | |
parent | ac43937ce4d5100a82df9d76d50d72b97daaedd3 (diff) | |
download | samba-1451e5f66312e37b07d82e48a615b39fe63bd6e3.tar.gz samba-1451e5f66312e37b07d82e48a615b39fe63bd6e3.tar.bz2 samba-1451e5f66312e37b07d82e48a615b39fe63bd6e3.zip |
s4:libcli:smb2: store the share capabilites in the smb2_tree object
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/smb2/connect.c | 1 | ||||
-rw-r--r-- | source4/libcli/smb2/smb2.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c index 77b974475e..b2657f2568 100644 --- a/source4/libcli/smb2/connect.c +++ b/source4/libcli/smb2/connect.c @@ -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); } diff --git a/source4/libcli/smb2/smb2.h b/source4/libcli/smb2/smb2.h index 1cff5eac59..c4dc0001a0 100644 --- a/source4/libcli/smb2/smb2.h +++ b/source4/libcli/smb2/smb2.h @@ -107,6 +107,7 @@ struct smb2_transport { struct smb2_tree { struct smb2_session *session; uint32_t tid; + uint32_t capabilities; }; /* |