1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00
Commit Graph

14 Commits

Author SHA1 Message Date
Andrew Tridgell
40e5bfdb0f r14435: return after an error 2007-10-10 13:57:24 -05:00
Andrew Tridgell
f9413ce792 r12116: got rid of composite_trigger_done() and composite_trigger_error(), and
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
2007-10-10 13:47:11 -05:00
Andrew Tridgell
6935765fda r12006: don't require callers to fill in pad bytes in SMB2 calls 2007-10-10 13:46:58 -05:00
Andrew Tridgell
91327885a2 r11949: make sure we ask gensec to give us a session key
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
2007-10-10 13:46:49 -05:00
Andrew Tridgell
aef915f312 r11888: - added SMB2 trans support
- added session key to SMB2

- renamed 'unknown2' in create to 'impersonation'
2007-10-10 13:46:41 -05:00
Andrew Tridgell
387ec2b17f r11754: make the SMB2 blob push routines take offsets, so they fit better with
the rest of the packet construction code
2007-10-10 13:46:23 -05:00
Stefan Metzmacher
79103c51e5 r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the length
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
2007-10-10 13:46:20 -05:00
Stefan Metzmacher
9b616516ca r11722: make the smb2_push/pull functions take a smb2_request_buffer
and the pull ones also a TALLOC_CTX, then we can reuse this functions
in the server later

metze
2007-10-10 13:46:18 -05:00
Andrew Tridgell
6381fe7241 r11694: fixed 2 valgrind errors 2007-10-10 13:46:14 -05:00
Andrew Tridgell
7bf1046fbb r11692: added a full composite (async) spnego session setup for SMB2. This
simplies the torture code a lot.
2007-10-10 13:46:14 -05:00
Andrew Tridgell
26ed781375 r11691: added reply buffer code checks and oplock flags for create request/reply 2007-10-10 13:46:13 -05:00
Andrew Tridgell
72b34a7c1b r11668: yay! we get a successful session setup with SMB2, and get back a 64bit uid 2007-10-10 13:46:10 -05:00
Andrew Tridgell
804c229c3b r11666: filled in the basic session setup. Vista happily accepts the first
stage of the session setup, and waits for more.
2007-10-10 13:46:09 -05:00
Andrew Tridgell
4ef3902a8a r11665: started to put some meat on the structure used for the SMB2 library
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
2007-10-10 13:46:09 -05:00