Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 77295
b: refs/heads/master
c: 1a67570
h: refs/heads/master
i:
  77293: cff8f93
  77291: 9502e6f
  77287: 5a7a4eb
  77279: 73dd5ce
v: v3
  • Loading branch information
Jeff Layton authored and Steve French committed Dec 31, 2007
1 parent eeebc4a commit 639d957
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d9a8852c365fb7f8db0f8364210138985f457b8
refs/heads/master: 1a67570c76402b36695cd0725e28649ee8fe830d
8 changes: 5 additions & 3 deletions trunk/fs/cifs/sess.c
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,11 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time,
rc = -EOVERFLOW;
goto ssetup_exit;
}
ses->server->mac_signing_key.len = msg->sesskey_len;
memcpy(ses->server->mac_signing_key.data.krb5, msg->data,
msg->sesskey_len);
if (first_time) {
ses->server->mac_signing_key.len = msg->sesskey_len;
memcpy(ses->server->mac_signing_key.data.krb5,
msg->data, msg->sesskey_len);
}
pSMB->req.hdr.Flags2 |= SMBFLG2_EXT_SEC;
capabilities |= CAP_EXTENDED_SECURITY;
pSMB->req.Capabilities = cpu_to_le32(capabilities);
Expand Down

0 comments on commit 639d957

Please sign in to comment.