Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-27 | Don't return an intermediate reply on async on a pipe call (Windows doesn't). | Jeremy Allison | 1 | -0/+5 | |
Jeremy. | |||||
2010-04-28 | s3-lanman: use spoolss for api_PrintJobInfo(). | Günther Deschner | 1 | -13/+88 | |
Guenther | |||||
2010-04-28 | s3-lanman: remove unsupported print_job_set_place(). | Günther Deschner | 1 | -9/+0 | |
Guenther | |||||
2010-04-27 | s3:smbd: keep local and remote tsocket_address per connection | Stefan Metzmacher | 2 | -9/+65 | |
metze | |||||
2010-04-26 | Correctly report share types (now Win7 makes RPC calls against us). | Jeremy Allison | 1 | -1/+7 | |
Jeremy. | |||||
2010-04-26 | Plumb in get_nt_acl into SMB2. | Jeremy Allison | 2 | -46/+167 | |
Jeremy. | |||||
2010-04-26 | s3: use generated rap header. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-04-26 | When walking the SMB2 requests queue, ensure the request is still "in flight" | Jeremy Allison | 1 | -1/+10 | |
before examining the details. SMB2 requests stay on the queue until their out.vector has been send, only then are they talloc_free'd. Thanks for Ira Cooper <ira@wakeful.net> for giving me the backtrace showing this. Jeremy. | |||||
2010-04-26 | Fix crash when rescheduling oplock open. | Jeremy Allison | 1 | -0/+9 | |
Jeremy. | |||||
2010-04-24 | s3: Simplify (bool != True) to !bool | Volker Lendecke | 1 | -1/+1 | |
2010-04-24 | Implement oplocks within SMB2. Plumb into the existing SMB1 oplock system. | Jeremy Allison | 5 | -17/+112 | |
Seems to work but needs more tests (to be added). Jeremy. | |||||
2010-04-23 | When sending the initial async response, this is never part of a chain. | Jeremy Allison | 1 | -1/+1 | |
Get the reply flags correct. Jeremy. | |||||
2010-04-23 | Don't free the entire tevent_req on cancel, only the part we need (the ↵ | Jeremy Allison | 1 | -9/+12 | |
immediate event). Jeremy. | |||||
2010-04-23 | s3-smbd: group print relate data in own structure | Simo Sorce | 5 | -8/+27 | |
2010-04-23 | Allow smb2 create requests to be cancelled. | Jeremy Allison | 4 | -20/+90 | |
Jeremy. | |||||
2010-04-23 | Fix bug #7384 - dptr_Close has a bitmap leak. | Ira Cooper | 1 | -3/+1 | |
s3: Fix to dptr_Close This fixes a bitmap "leak" in dptr_Close by making it use the same internal routines the rest of the code does. | |||||
2010-04-23 | At simo's request return struct tevent_req *treq -> treq. For consistency :-(. | Jeremy Allison | 1 | -80/+80 | |
2010-04-23 | Rename - no functional change. Stop all variables being called "req". | Jeremy Allison | 1 | -130/+129 | |
tevent_req -> treq struct smb_request -> smb1req struct smbd_smb2_request -> smb2req Jeremy. | |||||
2010-04-23 | s3-lanman: fix uninitialized variable in api_RDosPrintJobDel(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-04-22 | Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2. | Jeremy Allison | 6 | -83/+355 | |
Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy. | |||||
2010-04-23 | s3: Fix a cut&paste error in a debug message in check_oem_password() | Volker Lendecke | 1 | -1/+2 | |
2010-04-19 | Now SMB2 error messages are correctly being returned with the 1 byte data ↵ | Jeremy Allison | 1 | -51/+49 | |
area, smbd_smb2_request_error_ex() must call smbd_smb2_request_done_ex() in order to do the padding correctly on compound replies. Jeremy. | |||||
2010-04-19 | Ensure vectors are always allocated with consistent size. Removes one byte ↵ | Jeremy Allison | 1 | -20/+60 | |
alloc on SMB2 error packet. Always use talloc_zero_array on out vectors - fixes valgrind errors in tevent writes. Jeremy. | |||||
2010-04-19 | Fix valgrind error where a strdup of name reads one byte beyond the end. ↵ | Jeremy Allison | 1 | -1/+2 | |
Ensure buffer returned from inotify is null terminated. Jeremy. | |||||
2010-04-19 | Remove an unused auto variable. | Jeremy Allison | 1 | -3/+0 | |
Jeremy. | |||||
2010-04-19 | s3-smb2: fix some c++ warnings. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-04-19 | s3-lanman: use spoolss for api_WPrintJobGetInfo(). | Günther Deschner | 1 | -21/+54 | |
Guenther | |||||
2010-04-19 | s3-lanman: use spoolss for api_WPrintJobEnumerate(). | Günther Deschner | 1 | -11/+142 | |
Guenther | |||||
2010-04-18 | Final fix for #7331 - Compound async SMB 2 requests don't work right. | Jeremy Allison | 2 | -4/+20 | |
Don't free the cancelled SMB2 req early, let the cancelation function take care of it. Return a NT_STATUS_CANCELLED when we find and cancel a request. Fix our SMB2 error returns to correctly set the structuresize to 9, and add the expected zero byte (see section 2.2.2 in the SMB2 spec.). This causes Samba to pass the test program in this bug report that W2K8R2 fails (heh heh :-). This is because we always cause compound requests to get to a cancelation point before dealing with a cancel request. Jeremy. | |||||
2010-04-17 | Second part of fix for bug #7331 - Compound async SMB 2 requests don't work ↵ | Jeremy Allison | 1 | -58/+158 | |
right. Cause us to match W2K8R2 by sending an interim compound reply followed by a async reply. Jeremy. | |||||
2010-04-17 | First part of fix for bug #7331 - Compound async SMB 2 requests don't work ↵ | Jeremy Allison | 5 | -105/+367 | |
right. Gets us handling SMB2 compound async requests similar to W2K8R2 (and triggers the same client bug in the Win7 redirector). Great thanks to Ira Cooper <samba@ira.wakeful.net> for helping with this and to Metze for the wonderful async framework. The one thing I need to fix to make us identical to W2K8R2 is that when a compound request goes async at the end W2K8R2 splits the replies up into a compound non-async reply followed by a separate async reply. Currently we're doing the whole thing in a compound reply. Jeremy. | |||||
2010-04-17 | s3: Slightly simplify the logic of check_password_complexity() | Volker Lendecke | 1 | -18/+22 | |
The whole routine was just one if-branch. Do an early return instead. | |||||
2010-04-17 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -7/+7 | |
2010-04-13 | s3: Cache the username map in gencache | Volker Lendecke | 1 | -0/+49 | |
This is for uses with a heavy-weight username map script | |||||
2010-04-12 | Move to using 64-bit mid values in our internal open file database. | Jeremy Allison | 10 | -123/+125 | |
This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy | |||||
2010-04-12 | s3: Little refactoring: Factor out skip_space | Volker Lendecke | 1 | -5/+10 | |
2010-04-12 | s3: Remove a bogus 0-check, "isspace" can not return true for \0 | Volker Lendecke | 1 | -1/+1 | |
2010-04-12 | s3: Cache the result of the username map script | Volker Lendecke | 1 | -0/+1 | |
2010-04-09 | Plumb SMB2 stubs into all the places we defer SMB1 operations. | Jeremy Allison | 10 | -72/+154 | |
Rename functions to be internally consistent. Next step is to cope queueing single (non-compounded) SMB2 requests to put some code inside the stubs. Jeremy. | |||||
2010-04-09 | s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username() | Volker Lendecke | 1 | -1/+1 | |
2010-04-09 | s3: TALLOC_FREE(command) correctly in map_username() | Volker Lendecke | 1 | -0/+2 | |
2010-04-08 | Stop smb2 from calling into smb1 blocking lock request code. | Jeremy Allison | 5 | -0/+66 | |
Allocate a uint16_t internal SMB1 mid for an SMB2 request. Add a back pointer from the faked up smb_request struct to the smb2 request. Getting ready to add restart code for blocking locks, share mode violations and oplocks in SMB2. Jeremy. | |||||
2010-04-08 | Simplify call_trans2qfilepathinfo() and smbd_do_qfilepathinfo() | Jeremy Allison | 3 | -20/+4 | |
Remove the bool ms_dfs_link parameter from smbd_do_qfilepathinfo. It is not possible for this to be a DFS link. Remove the check_msdfs_link() call from call_trans2qfilepathinfo() - the call to filename_convert() above with a ucf_flags of zero *MUST* catch a DFS link and return NT_STATUS_PATH_NOT_COVERED in this case, so the code below checking for msdfs links is redundent. Don't add this to 3.5.x, as it's an optimization but not needed to fix bug #7339 - MSDFS is non-functional in 3.5.x. Jeremy. | |||||
2010-04-08 | Fix bug #7339 - MSDFS is non-functional in 3.5.x | Jeremy Allison | 3 | -1/+5 | |
In the refactoring around filename_convert, the split between the functions resolve_dfspath() and resolve_dfspath_wcard() was lost, leaving us only with resolve_dfspath_wcard(). Internally resolve_dfspath_wcard() calls dfs_redirect() only with a "allow_wcards" flag of true, wheras the old resolve_dfspath() would call with a value of false. The loss of this case causes dfs_redirect to always masquerade DFS links as directories, even when they are being queried directly by a trans2 QPATHINFO call. We should only masquerade DFS links as directories when called from a SMBsearch or trans2 findfirst/findnext - which was the intent of the "allow_wcards" flag. This patch adds back an allow_wcards bool parameter to resolve_dfspath_wcard(). This bool is set from the state of the ucf_flags when filename_convert() is called. I will follow this up with a new smbclient-based torture test that will prevent us from ever regressing our DFS support again. Jeremy. | |||||
2010-04-08 | s3-lanman: use spoolss for api_RDosPrintJobDel(). | Günther Deschner | 1 | -15/+59 | |
Guenther | |||||
2010-04-08 | s3-lanman: use spoolss for api_WPrintQueueCtrl(). | Günther Deschner | 1 | -7/+70 | |
Guenther | |||||
2010-04-07 | Start to plumb smb2 into the oplock system. Calls dummy functions for now. | Jeremy Allison | 4 | -46/+59 | |
Jeremy. | |||||
2010-04-07 | On compound requests, MS-SMB2 says clients MAY use 0xFFFFFFFF for compound ↵ | Jeremy Allison | 2 | -0/+39 | |
tid and 0xFFFFFFFFFFFFFFFF for compound sessionid values. Cope with this. Jeremy. | |||||
2010-04-07 | Don't forget to initialize *p_creds_requested. | Jeremy Allison | 1 | -0/+1 | |
Jeremy. | |||||
2010-04-07 | s3: add comment about what the FSCTL_QUERY_ALLOCATED_RANGES currently does | Björn Jacke | 1 | -0/+6 | |