summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_create.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-05Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.Jeremy Allison1-0/+1
Ensure we don't use any of the create_options for Samba private use. Add a new parameter to the VFS_CREATE call (private_flags) which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code). Rev. the VFS interface to version 28. Jeremy.
2009-11-17Remove "store create time" code, cause create time to be storedJeremy Allison1-14/+26
in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy.
2009-09-17We now pass the Microsoft SMB2 fileio test with EA's and streams...Jeremy Allison1-3/+7
Jeremy.
2009-08-19s3:smbd: implement all SMB2 Create contexts except "ExtA"Stefan Metzmacher1-8/+217
metze
2009-08-19s3:smbd: parse context blobs in SMB2 CreateStefan Metzmacher1-48/+150
metze
2009-08-17s3:smbd: implement SMB2 Cancel correctly.Stefan Metzmacher1-5/+1
metze
2009-08-12libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher1-1/+1
This will hold code that's shared between source3 and source4. metze
2009-08-12s3:smbd: as check_path_syntax() changes the string, we need to copy the ↵Stefan Metzmacher1-2/+8
string before metze
2009-08-12s3:smbd: avoid 'goto out' in smbd_smb2_create_send()Stefan Metzmacher1-20/+15
metze
2009-08-08s3:smbd: convert '\\' into '/' in SMB2 CreateStefan Metzmacher1-0/+8
metze
2009-08-08s3:smbd: rename conn => sconn for smbd_server_connection structsStefan Metzmacher1-4/+4
This should avoid confusion between smbd_server_connection and connection_struct variables. metze
2009-07-24s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵Tim Prouty1-0/+2
caller know if the path has a wildcard This also eliminates the need for resolve_dfspath().
2009-07-24Fix a few uninitialized variable warningsVolker Lendecke1-10/+10
I know those warnings are bogus, but both Coverity and gcc don't get it.
2009-07-21s3: Remove the now unused fname parameter from filename_convert()Tim Prouty1-2/+1
2009-07-20s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty1-13/+6
2009-07-08s3: Plumb smb_filename through dos_mode() and related funtionsTim Prouty1-2/+11
2009-07-06s3: Change some filename_convert to pass in NULL for char **fname argumentTim Prouty1-3/+1
2009-07-02s3:smbd: allow the offset to the path being 0 in SMB2 createStefan Metzmacher1-1/+3
metze
2009-06-24s3:smbd: send SMB2 interim responses for async callsStefan Metzmacher1-0/+5
metze
2009-06-18Replace the boilerplate calls to :Jeremy Allison1-8/+2
resolve_dfspath() -> unix_convert() -> get_full_smb_filename() -> check_name() with a new function filename_convert(). This restores the check_name() calls that had gone missing since the default create_file was changed. All "standard" pathname processing now goes through filename_convert(). I'll take a look at the non-standard pathname processing next. As a benefit, fixed a missing resolve_dfspath() in the trans2 mkdir call. Jeremy.
2009-06-16Fix msdfs after the change to smb_filename struct. We must *always*Jeremy Allison1-1/+14
pull the pathname, then call resolve_dfspath(), before unix_convert(). Jeremy.
2009-06-12s3: Plumb smb_filename through SMB_VFS_CREATE_FILETim Prouty1-11/+2
2009-06-10s3: Make all callers of SMB_VFS_CREATEFILE call unix_convert firstTim Prouty1-9/+26
This step is a requirement to change SMB_VFS_CREATEFILE to take an smb_filename struct.
2009-06-05s3:smbd: split smbd_smb2_create() into a tevent_req based _send()/_recv() pairStefan Metzmacher1-99/+199
metze
2009-06-05s3:smbd: keep the chain_fsp for SMB2 requestsStefan Metzmacher1-0/+2
metze
2009-06-05s3:smbd: add support for SMB2 Create on IPC$Stefan Metzmacher1-1/+17
metze
2009-06-05s3:smbd: add support for printers to SMB2 CreateStefan Metzmacher1-38/+41
This is not tested, but the code looks like the for SMB1, so it's likely to work:-) metze
2009-06-04s3:smbd: ignore NTCREATEX_OPTIONS_SYNC_ALERT and ↵Stefan Metzmacher1-0/+4
NTCREATEX_OPTIONS_ASYNC_ALERT for SMB2 Create This should make the Windows Explorer happier. metze
2009-06-03s3:smbd: implement a simple version of SMB2 CreateStefan Metzmacher1-0/+274
It only work on file shares and just ignores any additional Create Context Values. metze