1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-29 04:23:51 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Andrew Tridgell
9dc284770d converted the out side of SMB2 negprot handling
This follows the SMB2 PFIF docs. Current versions of Vista can now connect to Samba4 as a SMB2 server
and do basic operations
2008-02-12 16:20:13 +11:00
Andrew Tridgell
55af8acc7b fixed up the .in side of SMB2 negprot
fixed the input side of the SMB2 negprot structure and parsers according to the documentation
2008-02-12 12:54:44 +11:00
Jelmer Vernooij
566aa14139 r25554: Convert last instances of BOOL, True and False to the standard types. 2007-10-10 15:07:55 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
7829100e1e r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
also if the dynamic flag should be set

metze
2007-10-10 14:05:54 -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
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
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
Andrew Tridgell
68422dc73f r11662: the beginnings of a SMB2 client library. Very hackish, meant for experimentation 2007-10-10 13:46:09 -05:00