Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3: only include gen_ndr headers where needed. | Günther Deschner | 2010-05-06 | 14 | -0/+14 |
| | | | | | | | | | | | | | | | | | This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther | ||||
* | Get closer to passing SMB2 lock test. Still crashes but we get further. | Jeremy Allison | 2010-05-05 | 1 | -24/+32 |
| | | | | | | More work to follow later. Jeremy. | ||||
* | Return correct error on read request on directory. | Jeremy Allison | 2010-05-05 | 1 | -0/+4 |
| | | | | Jeremy. | ||||
* | Get in_minimum and EOF errors right. | Jeremy Allison | 2010-05-05 | 1 | -1/+11 |
| | | | | Jeremy. | ||||
* | Client ignoring max write is a warning, not an error. | Jeremy Allison | 2010-05-05 | 1 | -1/+5 |
| | | | | Jeremy. | ||||
* | Start to pass the SMB2 read torture tests. | Jeremy Allison | 2010-05-05 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | s3-lanman: use srvsvc for api_RNetShareAdd(). | Günther Deschner | 2010-05-05 | 1 | -34/+42 |
| | | | | Guenther | ||||
* | Fixed issue with return in a void function found by Björn JACKE <bj@SerNet.DE> | Jeremy Allison | 2010-05-05 | 1 | -1/+2 |
| | | | | Jeremy. | ||||
* | s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a ↵ | Günther Deschner | 2010-05-03 | 1 | -8/+8 |
| | | | | | | connection. Guenther | ||||
* | s3-lanman: fix api_DosPrintQEnum(). | Günther Deschner | 2010-05-03 | 1 | -1/+7 |
| | | | | | | | | | | This was a subtile bug where the OpenPrinter call (called directly via dispatcher table) was modifiying r->in.printername in a way that all printers on a server had the printername stripped off the server unc. Once we switch to full NDR marshalling in inter RAP<->RPC server communication there is no danger anymore to have these kind of nasty effects. Guenther | ||||
* | s3-lanman: exit early for unsupported levels in api_PrintJobInfo(). | Günther Deschner | 2010-05-03 | 1 | -17/+17 |
| | | | | Guenther | ||||
* | Plumb the SMB2 front end into the blocking lock backend. | Jeremy Allison | 2010-04-30 | 3 | -30/+477 |
| | | | | | | | | | | Metze, you'll probably be happier with this work as it doesn't abuse tevent in the way you dislike. This is a first cut at the code, which will need lots of testing but I'm hoping this will give people an idea of where I'm going with this. Jeremy. | ||||
* | smbd: move printfile_offset() within write_file() | Simo Sorce | 2010-04-30 | 2 | -12/+7 |
| | |||||
* | Carefully label SMB1-specific locking calls. | Jeremy Allison | 2010-04-29 | 6 | -8/+24 |
| | | | | Jeremy. | ||||
* | Move the global blocking lock records into the smb1 state. | Jeremy Allison | 2010-04-29 | 3 | -45/+42 |
| | | | | Jeremy | ||||
* | Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values. | Jeremy Allison | 2010-04-29 | 2 | -10/+39 |
| | | | | | | Based on an initial patch from Ira Cooper <samba@ira.wakeful.net>. Jeremy. | ||||
* | s3-lanman: fix api_DosPrintQGetInfo(). | Günther Deschner | 2010-04-29 | 1 | -4/+28 |
| | | | | | | Found by torture test. Guenther | ||||
* | s3-lanman: fix api_DosPrintQEnum. | Günther Deschner | 2010-04-29 | 1 | -10/+22 |
| | | | | | | Found by torture test. Guenther | ||||
* | Update (C) for 2010. | Jeremy Allison | 2010-04-28 | 7 | -1/+8 |
| | | | | Jeremy. | ||||
* | s3-lanman: support level 0 NetPrintQEnum RAP query. | Günther Deschner | 2010-04-28 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | Connect set security descriptor into SMB2 code. | Jeremy Allison | 2010-04-28 | 2 | -8/+21 |
| | | | | Jeremy. | ||||
* | s3:smbd: make fsp->fake_file_handle a talloc child of fsp | Stefan Metzmacher | 2010-04-28 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in ↵ | Stefan Metzmacher | 2010-04-28 | 1 | -1/+15 |
| | | | | | | pipe_read_andx_done() metze | ||||
* | Fix the "allow_smb2" bug being set to false that was driving me mad :-). | Jeremy Allison | 2010-04-27 | 1 | -1/+5 |
| | | | | | | | The first packet from a rebooted Win7 on an SMB2 connection is an SMB1 negprot... Jeremy. | ||||
* | Don't return a potentially uninitialized NT_STATUS. We can now see user ↵ | Jeremy Allison | 2010-04-27 | 1 | -1/+1 |
| | | | | | | lists in Windows ACLs. Jeremy. | ||||
* | Add debug statements so I can track the flow of RPC data. | Jeremy Allison | 2010-04-27 | 1 | -2/+27 |
| | | | | Jeremy. | ||||
* | s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum(). | Günther Deschner | 2010-04-28 | 1 | -37/+115 |
| | | | | | | | With this, I think, all implemented RAP printing calls are routed over SPOOLSS. Torture tests to follow... Guenther | ||||
* | s3-lanman: fix debug message in api_WPrintJobEnumerate(). | Günther Deschner | 2010-04-28 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate(). | Günther Deschner | 2010-04-28 | 1 | -1/+0 |
| | | | | Guenther | ||||
* | s3-lanman: remove unused code. | Günther Deschner | 2010-04-28 | 1 | -134/+0 |
| | | | | Guenther | ||||
* | s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum. | Günther Deschner | 2010-04-28 | 1 | -152/+215 |
| | | | | Guenther | ||||
* | Don't return an intermediate reply on async on a pipe call (Windows doesn't). | Jeremy Allison | 2010-04-27 | 1 | -0/+5 |
| | | | | Jeremy. | ||||
* | s3-lanman: use spoolss for api_PrintJobInfo(). | Günther Deschner | 2010-04-28 | 1 | -13/+88 |
| | | | | Guenther | ||||
* | s3-lanman: remove unsupported print_job_set_place(). | Günther Deschner | 2010-04-28 | 1 | -9/+0 |
| | | | | Guenther | ||||
* | s3:smbd: keep local and remote tsocket_address per connection | Stefan Metzmacher | 2010-04-27 | 2 | -9/+65 |
| | | | | metze | ||||
* | Correctly report share types (now Win7 makes RPC calls against us). | Jeremy Allison | 2010-04-26 | 1 | -1/+7 |
| | | | | Jeremy. | ||||
* | Plumb in get_nt_acl into SMB2. | Jeremy Allison | 2010-04-26 | 2 | -46/+167 |
| | | | | Jeremy. | ||||
* | s3: use generated rap header. | Günther Deschner | 2010-04-26 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | When walking the SMB2 requests queue, ensure the request is still "in flight" | Jeremy Allison | 2010-04-26 | 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. | ||||
* | Fix crash when rescheduling oplock open. | Jeremy Allison | 2010-04-26 | 1 | -0/+9 |
| | | | | Jeremy. | ||||
* | s3: Simplify (bool != True) to !bool | Volker Lendecke | 2010-04-24 | 1 | -1/+1 |
| | |||||
* | Implement oplocks within SMB2. Plumb into the existing SMB1 oplock system. | Jeremy Allison | 2010-04-24 | 5 | -17/+112 |
| | | | | | | Seems to work but needs more tests (to be added). Jeremy. | ||||
* | When sending the initial async response, this is never part of a chain. | Jeremy Allison | 2010-04-23 | 1 | -1/+1 |
| | | | | | | Get the reply flags correct. Jeremy. | ||||
* | Don't free the entire tevent_req on cancel, only the part we need (the ↵ | Jeremy Allison | 2010-04-23 | 1 | -9/+12 |
| | | | | | | immediate event). Jeremy. | ||||
* | s3-smbd: group print relate data in own structure | Simo Sorce | 2010-04-23 | 5 | -8/+27 |
| | |||||
* | Allow smb2 create requests to be cancelled. | Jeremy Allison | 2010-04-23 | 4 | -20/+90 |
| | | | | Jeremy. | ||||
* | Fix bug #7384 - dptr_Close has a bitmap leak. | Ira Cooper | 2010-04-23 | 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. | ||||
* | At simo's request return struct tevent_req *treq -> treq. For consistency :-(. | Jeremy Allison | 2010-04-23 | 1 | -80/+80 |
| | |||||
* | Rename - no functional change. Stop all variables being called "req". | Jeremy Allison | 2010-04-23 | 1 | -130/+129 |
| | | | | | | | | tevent_req -> treq struct smb_request -> smb1req struct smbd_smb2_request -> smb2req Jeremy. | ||||
* | s3-lanman: fix uninitialized variable in api_RDosPrintJobDel(). | Günther Deschner | 2010-04-23 | 1 | -1/+1 |
| | | | | Guenther |