diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-13 13:49:15 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-13 18:12:22 +0200 |
commit | 80d2c2b00d2b8b7a5cb27ba60477cd8b994a869f (patch) | |
tree | 97060b04b062e9d29280598167f84c28733392d5 /source3/libsmb | |
parent | b7a1fd95a6fc4a3ff61bd83a5c2dc452f426f9f1 (diff) | |
download | samba-80d2c2b00d2b8b7a5cb27ba60477cd8b994a869f.tar.gz samba-80d2c2b00d2b8b7a5cb27ba60477cd8b994a869f.tar.bz2 samba-80d2c2b00d2b8b7a5cb27ba60477cd8b994a869f.zip |
s3:libsmb: don't mix smb2 share capabilities with smb1 capabilities
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/smb2cli_tcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_tcon.c b/source3/libsmb/smb2cli_tcon.c index 8c2c802bdd..9cf73e3a4b 100644 --- a/source3/libsmb/smb2cli_tcon.c +++ b/source3/libsmb/smb2cli_tcon.c @@ -118,7 +118,7 @@ static void smb2cli_tcon_done(struct tevent_req *subreq) body = (uint8_t *)iov[1].iov_base; cli->smb2.share_type = CVAL(body, 2); cli->smb2.share_flags = IVAL(body, 4); - cli->capabilities = IVAL(body, 8); + cli->smb2.share_capabilities = IVAL(body, 8); cli->smb2.maximal_access = IVAL(body, 12); TALLOC_FREE(subreq); |