diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-17 12:36:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:56 -0500 |
commit | 696fdc8cf91cc1660725fd93c2b91ec6b65d06b5 (patch) | |
tree | 5bcd9e4d35632dfa6c105fa81ec9c7ba12b800ec /source4/include | |
parent | 91e94014beb145541c051b4df28dde7ad0899da5 (diff) | |
download | samba-696fdc8cf91cc1660725fd93c2b91ec6b65d06b5.tar.gz samba-696fdc8cf91cc1660725fd93c2b91ec6b65d06b5.tar.bz2 samba-696fdc8cf91cc1660725fd93c2b91ec6b65d06b5.zip |
r3806: added support to smb_server and pvfs for the NTTRANS Create call. This
call has an optional sec_desc and ea_list.
(This used to be commit 8379ad14e3d51a848a99865d9ce8d56a301e8a3c)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/smb_interfaces.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h index 43cb8af5a7..1f0912a149 100644 --- a/source4/include/smb_interfaces.h +++ b/source4/include/smb_interfaces.h @@ -433,7 +433,7 @@ union smb_fileinfo { enum smb_fileinfo_level level; union smb_fileinfo_in in; - struct smb_all_eas { + struct smb_ea_list { /* the ea_size is implied by the list */ uint_t num_eas; struct ea_struct *eas; @@ -1037,7 +1037,8 @@ enum smb_open_level { RAW_OPEN_OPEN, RAW_OPEN_OPENX, RAW_OPEN_MKNEW, RAW_OPEN_CREATE, RAW_OPEN_CTEMP, RAW_OPEN_SPLOPEN, - RAW_OPEN_NTCREATEX, RAW_OPEN_T2OPEN}; + RAW_OPEN_NTCREATEX, RAW_OPEN_T2OPEN, + RAW_OPEN_NTTRANS_CREATE}; /* the generic interface is defined to be equal to the NTCREATEX interface */ #define RAW_OPEN_GENERIC RAW_OPEN_NTCREATEX @@ -1063,6 +1064,11 @@ union smb_open { uint64_t file_id if create_options has the NTCREATEX_OPTIONS_OPEN_BY_FILE_ID flag set */ const char *fname; + + /* these last 2 elements are only used in the + NTTRANS varient of the call */ + struct security_descriptor *sec_desc; + struct smb_ea_list *ea_list; } in; struct { |