summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2009-06-12s3: Plumb smb_filename through SMB_VFS_CREATE_FILETim Prouty6-257/+234
2009-06-12s3: Add smb_filename utility functions and fix a bug in copy_smb_filenameTim Prouty1-5/+85
2009-06-12Check for error in transfer_file return also.Jeremy Allison1-1/+7
Jeremy.
2009-06-12Fix bug 6440Volker Lendecke1-11/+19
Don't ignore the close error of the output file in check_magic()
2009-06-12Simplify close_normal_file()Volker Lendecke1-22/+21
2009-06-11Fix bug #6297 - owner of sticky directory cannot delete files created by others.Jeremy Allison1-2/+13
The reason we couldn't delete was we were erroring out early if requestor was not the owner of the file we wanted to delete, instead of checking if the requestor owned the directory as well. If either of these is true, we must go on and check the ACL. Karolin, this is a must for 3.4.0 and also 3.3.next. I'll update the bug report with patches for 3.4.0 and 3.3.next and ask vl to review. Jeremy.
2009-06-11s3: Prepare the rename path for passing smb_filename to SMB_VFS_CREATE_FILETim Prouty1-106/+133
2009-06-11s3: Prepare the do_unlink path for passing smb_filname to SMB_VFS_CREATE_FILETim Prouty1-72/+77
2009-06-11s3: refactor utility function to handle splitting the directory from the maskTim Prouty1-11/+35
2009-06-10s3: Prepare the first set of SMB_VFS_CREATE_FILE callers to take an ↵Tim Prouty4-157/+233
smb_filename struct Some of the callers required minimal changes, while others (copy_internals) required significant changes. The task is simplified a little bit because we are able to do operations and checks on the base_name when a stream isn't used. This patch should cause no functional changes. Volker, Jeremy: Please check
2009-06-10s3: Add utility function for copying an smb_filename structTim Prouty1-0/+39
2009-06-10s3: Remove unix_convert handling from createfile implementationsTim Prouty1-29/+4
2009-06-10s3: Make all callers of SMB_VFS_CREATEFILE call unix_convert firstTim Prouty4-140/+209
This step is a requirement to change SMB_VFS_CREATEFILE to take an smb_filename struct.
2009-06-10s3: Remove unused stat structs being passed to SMB_VFS_CREATE_FILETim Prouty2-8/+2
2009-06-09s3:smbd: only check the next_status for related requestsStefan Metzmacher1-11/+12
metze
2009-06-09s3:smbd: response with the same SMB2 flags as given by the clientStefan Metzmacher1-1/+4
...but also add the response flag. metze
2009-06-09s3:smbd: only pass the chained file handle for related compounded SMB2 requestsStefan Metzmacher1-0/+4
metze
2009-06-09s3:smbd: make sure we pad compounded SMB2 responses to 8 bytesStefan Metzmacher1-2/+47
metze
2009-06-09s3:smbd: skip file handle checks for SMB2 compounded requestsStefan Metzmacher5-6/+16
metze
2009-06-09s3:smbd: more validation of the incoming SMB2 requestsStefan Metzmacher2-4/+96
metze
2009-06-09s3:smbd: for now ignore all non NBT Session Message requests for SMB2Stefan Metzmacher1-0/+9
metze
2009-06-09s3:smbd: don't include 1 byte padding for the dynamic buffer of SMB2 responsesStefan Metzmacher1-21/+9
It seems that Windows 2008 and Windows 7 doesn't do this anymore. metze
2009-06-08Set SIGRTMIN to NSIGTimur I. Bakeyev1-3/+0
In the includes we define SIGRTMIN to 32 if it's not defined already. This value could be fairly low and it's better to use NSIG(number of defined signals) as the lower mark for the available signals. We have similar defenition in the source3/smbd/aio.c, which can be safely removed, as it comes from includes.h then. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-06s3:smbd: FSCTL_PIPE_TRANSCEIVE on a none IPC$ share should give NOT_SUPPORTEDStefan Metzmacher1-1/+1
metze
2009-06-06s3:smbd: return the same things as Windows 7 for SMB2 Ioctl responsesStefan Metzmacher1-7/+23
metze
2009-06-05s3:smbd: split smbd_smb2_flush() into a tevent_req based _send()/_recv() pairStefan Metzmacher1-25/+97
metze
2009-06-05s3:smbd: split smbd_smb2_create() into a tevent_req based _send()/_recv() pairStefan Metzmacher1-99/+199
metze
2009-06-05s3:smbd: fix the build in smb2_ioctl.cStefan Metzmacher1-1/+1
metze
2009-06-05s3:smbd: add support for SMB2 Ioctl FSCTL_DFS_GET_REFERRALSStefan Metzmacher1-0/+74
metze
2009-06-05s3:smbd: add support for STATUS_BUFFER_OVERFLOW to SMB2 IoctlStefan Metzmacher1-5/+10
metze
2009-06-05s3:smbd: keep the chain_fsp for SMB2 requestsStefan Metzmacher3-0/+5
metze
2009-06-05s3:smbd: fix the logic for compounded requestsStefan Metzmacher1-1/+1
metze
2009-06-05s3:smbd: only setup the dyn iovec if a a dyn blob is givenStefan Metzmacher1-2/+1
Otherwise leave the default in there, which takes care of padding for compounded requests. metze
2009-06-05s3:smbd: add support for SMB2 Ioctl FSCTL_PIPE_TRANSCEIVE on IPC$Stefan Metzmacher1-0/+92
metze
2009-06-05s3:smbd: add support for SMB2 Read on IPC$Stefan Metzmacher1-6/+52
metze
2009-06-05s3:smbd: add support for SMB2 Write on IPC$Stefan Metzmacher1-5/+49
metze
2009-06-05s3:smbd: add support for SMB2 Create on IPC$Stefan Metzmacher1-1/+17
metze
2009-06-05s3:smbd: add support for SMB2 IoctlStefan Metzmacher3-1/+273
We don't implement any level yet. metze
2009-06-05s3:smbd: add missing return statements to the SMB2 write error casesStefan Metzmacher1-0/+2
metze
2009-06-05s3:smbd: add missing return statements to the SMB2 read error casesStefan Metzmacher1-0/+2
metze
2009-06-05s3:smbd: split smbd_smb2_write() into tevent_req based *_send()/_recv() ↵Stefan Metzmacher1-47/+129
functions metze
2009-06-05s3:smbd: split smbd_smb2_read() into tevent_req based *_send()/_recv() functionsStefan Metzmacher1-61/+148
metze
2009-06-05s3:smbd: make smbd_server_connection_terminate() a macroStefan Metzmacher2-3/+11
metze
2009-06-05s3:smbd: implement smbd_smb2_request_error/done() as macros on top of the ↵Stefan Metzmacher3-27/+23
_ex() function 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-04s3:smbd: call set_current_service() when a SMB2 tcon will be usedStefan Metzmacher1-0/+5
metze
2009-06-04s3:smbd: fix potential fsp leak if print_fsp_open() failsStefan Metzmacher1-0/+1
metze
2009-06-04Change smbd_smb2_request_error() to add a __location__.Jeremy Allison2-10/+10
This allows quick identification of smb2 parsing errors. Jeremy.
2009-06-04Add NTLMSSP SPNEGO to smb2 auth. Tested with Win7.Jeremy Allison3-9/+75
Jeremy.