summaryrefslogtreecommitdiffstats
path: root/source3/smbd
Commit message (Collapse)AuthorAgeFilesLines
* Fix more SMB2-OPLOCK bugs. Only 3 more issues to address then we're good to ↵Jeremy Allison2010-05-112-2/+15
| | | | | | go on this test. Jeremy.
* s3:kerberos Return PAC_LOGON_INFO rather than the full PAC_DATAAndrew Bartlett2010-05-111-7/+3
| | | | | | | | | | | | | | | All the callers just want the PAC_LOGON_INFO, so search for that in ads_verify_ticket(), and don't bother the callers with the rest of the PAC. This change makes sense on it's own (removing boilerplate wrappers that just confuse the code), but it also makes it much easier to implement a matching ads_verify_ticket() function in Samba4 for the s3compat proposal. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* SMB2 always have level2 oplock capability. Correct mapping from break ↵Jeremy Allison2010-05-104-3/+6
| | | | | | messages to SMB2 oplock levels. Jeremy.
* Stop us crashing in SMB2-OPLOCK test. Don't allow more than one outstanding ↵Jeremy Allison2010-05-101-5/+33
| | | | | | immediate event. Jeremy.
* Fix the processing of unlocks followed by locks. We now pass SMB2-LOCK test.Jeremy Allison2010-05-101-9/+5
| | | | Jeremy.
* Fix more of the SMB2-LOCK tests. Correctly unlock locks on error.Jeremy Allison2010-05-101-3/+19
| | | | Jeremy.
* s3-lanman: use srvsvc for api_RNetServerGetInfo().Günther Deschner2010-05-091-45/+47
| | | | | | Following MS-RAP 3.2.5.3 NetServerGetInfo Command. Guenther
* s3-spoolss: Make spoolss_Time_to_time_t public.Simo Sorce2010-05-091-15/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Only MULTIPLE-UNLOCK test left to fix !Jeremy Allison2010-05-073-3/+3
| | | | Jeremy.
* When tearing down the connection make sure we close all files beforeJeremy Allison2010-05-072-0/+8
| | | | | | | freeing the global context, as we close access to the locking db before freeing the global context. Jeremy.
* This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> ↵Jeremy Allison2010-05-076-89/+89
| | | | | | smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. Jeremy.
* Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them ↵Jeremy Allison2010-05-075-6/+25
| | | | | | next :-). Jeremy.
* Fix crash in cancel-tdis lock test. Correctly shut down connection.Jeremy Allison2010-05-071-1/+1
| | | | Jeremy.
* Fix cancel by close lock test.Jeremy Allison2010-05-061-24/+36
| | | | Jeremy.
* Fix more SMB2 locking. We still crash but this won't last :-).Jeremy Allison2010-05-063-49/+99
| | | | Jeremy.
* Move to MS-FSA algorithm when checking for invalid lock range.Jeremy Allison2010-05-051-7/+0
| | | | | | Satisfies SMB and SMB2. Jeremy.
* s3: only include gen_ndr headers where needed.Günther Deschner2010-05-0614-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 Allison2010-05-051-24/+32
| | | | | | More work to follow later. Jeremy.
* Return correct error on read request on directory.Jeremy Allison2010-05-051-0/+4
| | | | Jeremy.
* Get in_minimum and EOF errors right.Jeremy Allison2010-05-051-1/+11
| | | | Jeremy.
* Client ignoring max write is a warning, not an error.Jeremy Allison2010-05-051-1/+5
| | | | Jeremy.
* Start to pass the SMB2 read torture tests.Jeremy Allison2010-05-051-1/+1
| | | | Jeremy.
* s3-lanman: use srvsvc for api_RNetShareAdd().Günther Deschner2010-05-051-34/+42
| | | | Guenther
* Fixed issue with return in a void function found by Björn JACKE <bj@SerNet.DE>Jeremy Allison2010-05-051-1/+2
| | | | Jeremy.
* s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a ↵Günther Deschner2010-05-031-8/+8
| | | | | | connection. Guenther
* s3-lanman: fix api_DosPrintQEnum().Günther Deschner2010-05-031-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 Deschner2010-05-031-17/+17
| | | | Guenther
* Plumb the SMB2 front end into the blocking lock backend.Jeremy Allison2010-04-303-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 Sorce2010-04-302-12/+7
|
* Carefully label SMB1-specific locking calls.Jeremy Allison2010-04-296-8/+24
| | | | Jeremy.
* Move the global blocking lock records into the smb1 state.Jeremy Allison2010-04-293-45/+42
| | | | Jeremy
* Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2010-04-292-10/+39
| | | | | | Based on an initial patch from Ira Cooper <samba@ira.wakeful.net>. Jeremy.
* s3-lanman: fix api_DosPrintQGetInfo().Günther Deschner2010-04-291-4/+28
| | | | | | Found by torture test. Guenther
* s3-lanman: fix api_DosPrintQEnum.Günther Deschner2010-04-291-10/+22
| | | | | | Found by torture test. Guenther
* Update (C) for 2010.Jeremy Allison2010-04-287-1/+8
| | | | Jeremy.
* s3-lanman: support level 0 NetPrintQEnum RAP query.Günther Deschner2010-04-281-0/+1
| | | | Guenther
* Connect set security descriptor into SMB2 code.Jeremy Allison2010-04-282-8/+21
| | | | Jeremy.
* s3:smbd: make fsp->fake_file_handle a talloc child of fspStefan Metzmacher2010-04-281-1/+1
| | | | metze
* s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in ↵Stefan Metzmacher2010-04-281-1/+15
| | | | | | pipe_read_andx_done() metze
* Fix the "allow_smb2" bug being set to false that was driving me mad :-).Jeremy Allison2010-04-271-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 Allison2010-04-271-1/+1
| | | | | | lists in Windows ACLs. Jeremy.
* Add debug statements so I can track the flow of RPC data.Jeremy Allison2010-04-271-2/+27
| | | | Jeremy.
* s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().Günther Deschner2010-04-281-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 Deschner2010-04-281-1/+1
| | | | Guenther
* s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().Günther Deschner2010-04-281-1/+0
| | | | Guenther
* s3-lanman: remove unused code.Günther Deschner2010-04-281-134/+0
| | | | Guenther
* s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.Günther Deschner2010-04-281-152/+215
| | | | Guenther
* Don't return an intermediate reply on async on a pipe call (Windows doesn't).Jeremy Allison2010-04-271-0/+5
| | | | Jeremy.
* s3-lanman: use spoolss for api_PrintJobInfo().Günther Deschner2010-04-281-13/+88
| | | | Guenther
* s3-lanman: remove unsupported print_job_set_place().Günther Deschner2010-04-281-9/+0
| | | | Guenther