1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-24 15:33:20 +03:00
Commit Graph

21 Commits

Author SHA1 Message Date
Andrew Tridgell
3aaa2e86d9 updated SMB2 code for getinfo according to WSPP docs
- Updated getinfo structures and field names
- also updated the protocol revision number handling to reflect
  new docs
2008-02-14 17:11:36 +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
dcc02df829 r16406: use the generic smb_handle in smb2_getinfo/smb2_setinfo
metze
2007-10-10 14:09:13 -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
be6d5298a2 r14256: - rename smb_file -> smb_handle
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo

metze
2007-10-10 13:57:06 -05:00
Stefan Metzmacher
2ef3f59709 r14173: change smb interface structures to always use
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2

the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2

metze
2007-10-10 13:56:57 -05:00
Andrew Tridgell
8792bc07d9 r11801: - added basic SMB2 find support
- added SMB2-SCANFIND test

- cleaned up continue flags in EAs and find requests
2007-10-10 13:46:29 -05:00
Andrew Tridgell
8c7c54a46d r11800: - filled in unknown fields in SMB2 all_info level
- allow setting of the ALL_EAS flags bits in SMB2 getinfo
2007-10-10 13:46:29 -05:00
Andrew Tridgell
d1067fc25d r11777: display the security_descriptor in torture_smb2_all_info() 2007-10-10 13:46:25 -05:00
Andrew Tridgell
da0b6fb936 r11771: - split out the setinfo blob construction in the libcli/raw code
- added a smb2_setinfo call

- added smb2_setinfo_file*() calls
2007-10-10 13:46:24 -05:00
Andrew Tridgell
ba897e537b r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo calls 2007-10-10 13:46:23 -05:00
Andrew Tridgell
4ce48d02aa r11755: added names for all of the SMB2 qfs info levels (they all map exactly
to equivalent SMB qfs levels)
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
Andrew Tridgell
dd24c0e80c r11735: fixed the ALL_EAS smb2 level parsing 2007-10-10 13:46:19 -05:00
Andrew Tridgell
e51fb2b44a r11731: fixed typo noticed by metze 2007-10-10 13:46:19 -05:00
Andrew Tridgell
ca65bf0235 r11730: added parsing and tests for a bunch more SMB2 getinfo levels 2007-10-10 13:46:18 -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
Volker Lendecke
d760583e38 r11721: Fix warnings 2007-10-10 13:46:17 -05:00
Andrew Tridgell
d3556cbfa3 r11715: added SMB2 read and write requests 2007-10-10 13:46:17 -05:00
Andrew Tridgell
fe5986067e r11697: - added a generic SMB2 getinfo call
- added a SMB2-SCANGETINFO test for scanning for available info levels

- added names for the info levels I recognise to smb2.h
2007-10-10 13:46:15 -05:00