diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-29 19:16:26 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-29 19:16:26 +1000 |
commit | c86dc11be6e626fa81f025d7ec78226fb4249cdc (patch) | |
tree | 5816ae0640ea981cdd50d9d9f64ff74c5494b49c /source4/libcli | |
parent | 21d770a02c1e5e492c3d764881b82cbc0871ced0 (diff) | |
download | samba-c86dc11be6e626fa81f025d7ec78226fb4249cdc.tar.gz samba-c86dc11be6e626fa81f025d7ec78226fb4249cdc.tar.bz2 samba-c86dc11be6e626fa81f025d7ec78226fb4249cdc.zip |
added support for returning the maximal access MXAC tag in SMB2 create
(This used to be commit 4eb49335d5f0319f9aa47ded5215a2977d3336bf)
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/raw/interfaces.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h index d170006d3b..19d51893a6 100644 --- a/source4/libcli/raw/interfaces.h +++ b/source4/libcli/raw/interfaces.h @@ -1354,7 +1354,7 @@ union smb_open { break; \ } \ } while (0) - /* SMBNTCreateX interface */ + /* SMBNTCreateX, nttrans and generic interface */ struct { enum smb_open_level level; struct { @@ -1377,6 +1377,9 @@ union smb_open { NTTRANS varient of the call */ struct security_descriptor *sec_desc; struct smb_ea_list *ea_list; + + /* some optional parameters from the SMB2 varient */ + bool query_maximal_access; } in; struct { union smb_handle file; @@ -1392,6 +1395,10 @@ union smb_open { uint16_t file_type; uint16_t ipc_state; uint8_t is_directory; + + /* optional return values matching SMB2 tagged + values in the call */ + uint32_t maximal_access; } out; } ntcreatex, nttrans, generic; |