summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/session.c
AgeCommit message (Collapse)AuthorFilesLines
2008-07-28libcli/smb2: the session key for SMB2 signing is truncated to 16 bytesStefan Metzmacher1-2/+2
To make that work (as a client) with aes128 and aes256 krb5 keys we need to use gsskrb5_get_subkey(). metze (This used to be commit 0c6d988f2083067e1ac7b07a492f88cefd3ba906)
2008-07-28libcli/smb2: fix per session signing stateStefan Metzmacher1-3/+3
metze (This used to be commit 8bc12dc77a59e792830d96e84a4e8d1b2c651505)
2008-06-07make signing per session in the SMB2 client libraryAndrew Tridgell1-3/+3
Thanks to Metze for spotting this (This used to be commit e9fd9b821c04d1cb7b574f539dd8169611e662aa)
2008-06-06added server side SMB2 signingAndrew Tridgell1-3/+5
(This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)
2008-05-30implemented client side SMB2 signingAndrew Tridgell1-3/+14
This doessn't work against Windows yet, and I've submitted a WSPP request for clarification of the docs to try and find out why. Meanwhile this is no worse than what we had, as it only gets used when the server demands signing, and we didn't work then anyway. (This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
2008-05-16private -> private_data for struct smb2_requestAndrew Tridgell1-2/+2
(This used to be commit 67290e0ad69df2f2fe651249c6550b8e32dd641b)
2008-02-12updated SMB2 header defines to match WSPP docsAndrew Tridgell1-2/+2
(This used to be commit d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)
2008-02-12converted SMB2 session setup to use WSPP protocol field namesAndrew Tridgell1-10/+12
(This used to be commit 3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
2007-12-21r26337: Move global_loadparm to a higher caller.Jelmer Vernooij1-1/+2
(This used to be commit baa5bcd303c72431dfa638edde72cded4265c612)
2007-12-21r26260: Store loadparm context in gensec context.Jelmer Vernooij1-4/+6
(This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-3/+3
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r17318: make better usage of the composite apiStefan Metzmacher1-33/+9
metze (This used to be commit 683fc25f6524a3821ba70529251aabe97bad9370)
2007-10-10r16708: the packet format of SMB2 SessionSetup has changed,Stefan Metzmacher1-5/+7
there're 8 more unknown bytes... Note: - vista-CTP also support this as a server, but uses the old format as client - but vista-beta2 only uses and accept the new format metze (This used to be commit b3bdd4afdefc9ad3550f86a0aa6e6c90bf8ab416)
2007-10-10r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0Stefan Metzmacher1-1/+1
also if the dynamic flag should be set metze (This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)
2007-10-10r14435: return after an errorAndrew Tridgell1-0/+1
(This used to be commit 40e5bfdb0fadedb81d8fbd7e8cc578ef2ea12b13)
2007-10-10r12116: got rid of composite_trigger_done() and composite_trigger_error(), andAndrew Tridgell1-1/+1
instead make the normal composite_done() and composite_error() functions automatically trigger a delayed callback if the caller has had no opportunity to setup a async callback this removes one of the common mistakes in writing a composite function (This used to be commit f9413ce792ded682e05134b66d433eeec293e6f1)
2007-10-10r12006: don't require callers to fill in pad bytes in SMB2 callsAndrew Tridgell1-1/+1
(This used to be commit 6935765fda99a6efb19f6f72358d4d48fc35ad5e)
2007-10-10r11949: make sure we ask gensec to give us a session keyAndrew Tridgell1-0/+2
andrew, this answers your question on irc about whether the same session key mechanisms are used in smb2. They are - the RPC-LSA secret tests pass fine over ncacn_np on SMB2, which means the session key must be working (This used to be commit 91327885a2b6432ba20a8dd1370b632240d3263d)
2007-10-10r11888: - added SMB2 trans supportAndrew Tridgell1-0/+7
- added session key to SMB2 - renamed 'unknown2' in create to 'impersonation' (This used to be commit aef915f312a78bf8a4123f7c40fcd14ff293d934)
2007-10-10r11754: make the SMB2 blob push routines take offsets, so they fit better withAndrew Tridgell1-1/+1
the rest of the packet construction code (This used to be commit 387ec2b17ff30a1c040b460b498c8fa7d8770593)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher1-12/+8
of the fixed body part, and +1 if there's a dynamic part - there're 3 types of dynamic blobs with uint16_t offset/uint16_t size with uint16_t offset/uint32_t size with uint32_t offset/uint32_t size /* aligned to 8 bytes */ - strings are transmitted in UTF-16 with no termination and packet into a uint16/uint16 blob metze (This used to be commit 79103c51e5c752fbdb4d25a0047b65002828df89)
2007-10-10r11722: make the smb2_push/pull functions take a smb2_request_bufferStefan Metzmacher1-3/+2
and the pull ones also a TALLOC_CTX, then we can reuse this functions in the server later metze (This used to be commit 9b616516cae269f0870e9b9a9cecd8ee3f0a9095)
2007-10-10r11694: fixed 2 valgrind errorsAndrew Tridgell1-1/+1
(This used to be commit 6381fe72417a5cd231b63a87a6a0ba9c65030ce6)
2007-10-10r11692: added a full composite (async) spnego session setup for SMB2. ThisAndrew Tridgell1-0/+146
simplies the torture code a lot. (This used to be commit 7bf1046fbb7fd83fecb2fa645628ba9a17aab037)
2007-10-10r11691: added reply buffer code checks and oplock flags for create request/replyAndrew Tridgell1-1/+3
(This used to be commit 26ed781375c03958241d8c93324e04e948944d01)
2007-10-10r11668: yay! we get a successful session setup with SMB2, and get back a ↵Andrew Tridgell1-9/+19
64bit uid (This used to be commit 72b34a7c1b66af6be02f66639efc55a19c73e387)
2007-10-10r11666: filled in the basic session setup. Vista happily accepts the firstAndrew Tridgell1-0/+70
stage of the session setup, and waits for more. (This used to be commit 804c229c3ba7f866a7f3d66684e268d5ddc820ce)
2007-10-10r11665: started to put some meat on the structure used for the SMB2 libraryAndrew Tridgell1-0/+47
the call definitions will be in smb2_calls.h, which will play a similar role that smb_interfaces.h plays for the old SMB protocol (This used to be commit 4ef3902a8a99a0b8caa81a07ba07830d7cbbc32c)