summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2010-05-10Fix the processing of unlocks followed by locks. We now pass SMB2-LOCK test.Jeremy Allison1-9/+5
Jeremy.
2010-05-10Fix more of the SMB2-LOCK tests. Correctly unlock locks on error.Jeremy Allison1-3/+19
Jeremy.
2010-05-09s3-lanman: use srvsvc for api_RNetServerGetInfo().Günther Deschner1-45/+47
Following MS-RAP 3.2.5.3 NetServerGetInfo Command. Guenther
2010-05-09s3-spoolss: Make spoolss_Time_to_time_t public.Simo Sorce1-15/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-07Only MULTIPLE-UNLOCK test left to fix !Jeremy Allison3-3/+3
Jeremy.
2010-05-07When tearing down the connection make sure we close all files beforeJeremy Allison2-0/+8
freeing the global context, as we close access to the locking db before freeing the global context. Jeremy.
2010-05-07This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> ↵Jeremy Allison6-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.
2010-05-07Make us pass all SMB2 lock tests except MULTIPLE-UNLOCK and CONTEXT. Them ↵Jeremy Allison5-6/+25
next :-). Jeremy.
2010-05-07Fix crash in cancel-tdis lock test. Correctly shut down connection.Jeremy Allison1-1/+1
Jeremy.
2010-05-06Fix cancel by close lock test.Jeremy Allison1-24/+36
Jeremy.
2010-05-06Fix more SMB2 locking. We still crash but this won't last :-).Jeremy Allison3-49/+99
Jeremy.
2010-05-05Move to MS-FSA algorithm when checking for invalid lock range.Jeremy Allison1-7/+0
Satisfies SMB and SMB2. Jeremy.
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner14-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
2010-05-05Get closer to passing SMB2 lock test. Still crashes but we get further.Jeremy Allison1-24/+32
More work to follow later. Jeremy.
2010-05-05Return correct error on read request on directory.Jeremy Allison1-0/+4
Jeremy.
2010-05-05Get in_minimum and EOF errors right.Jeremy Allison1-1/+11
Jeremy.
2010-05-05Client ignoring max write is a warning, not an error.Jeremy Allison1-1/+5
Jeremy.
2010-05-05Start to pass the SMB2 read torture tests.Jeremy Allison1-1/+1
Jeremy.
2010-05-05s3-lanman: use srvsvc for api_RNetShareAdd().Günther Deschner1-34/+42
Guenther
2010-05-05Fixed issue with return in a void function found by Björn JACKE <bj@SerNet.DE>Jeremy Allison1-1/+2
Jeremy.
2010-05-03s3-lanman: before trying to call spoolss_ClosePrinter make sure we have a ↵Günther Deschner1-8/+8
connection. Guenther
2010-05-03s3-lanman: fix api_DosPrintQEnum().Günther Deschner1-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
2010-05-03s3-lanman: exit early for unsupported levels in api_PrintJobInfo().Günther Deschner1-17/+17
Guenther
2010-04-30Plumb the SMB2 front end into the blocking lock backend.Jeremy Allison3-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.
2010-04-30smbd: move printfile_offset() within write_file()Simo Sorce2-12/+7
2010-04-29Carefully label SMB1-specific locking calls.Jeremy Allison6-8/+24
Jeremy.
2010-04-29Move the global blocking lock records into the smb1 state.Jeremy Allison3-45/+42
Jeremy
2010-04-29Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.Jeremy Allison2-10/+39
Based on an initial patch from Ira Cooper <samba@ira.wakeful.net>. Jeremy.
2010-04-29s3-lanman: fix api_DosPrintQGetInfo().Günther Deschner1-4/+28
Found by torture test. Guenther
2010-04-29s3-lanman: fix api_DosPrintQEnum.Günther Deschner1-10/+22
Found by torture test. Guenther
2010-04-28Update (C) for 2010.Jeremy Allison7-1/+8
Jeremy.
2010-04-28s3-lanman: support level 0 NetPrintQEnum RAP query.Günther Deschner1-0/+1
Guenther
2010-04-28Connect set security descriptor into SMB2 code.Jeremy Allison2-8/+21
Jeremy.
2010-04-28s3:smbd: make fsp->fake_file_handle a talloc child of fspStefan Metzmacher1-1/+1
metze
2010-04-28s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in ↵Stefan Metzmacher1-1/+15
pipe_read_andx_done() metze
2010-04-27Fix the "allow_smb2" bug being set to false that was driving me mad :-).Jeremy Allison1-1/+5
The first packet from a rebooted Win7 on an SMB2 connection is an SMB1 negprot... Jeremy.
2010-04-27Don't return a potentially uninitialized NT_STATUS. We can now see user ↵Jeremy Allison1-1/+1
lists in Windows ACLs. Jeremy.
2010-04-27Add debug statements so I can track the flow of RPC data.Jeremy Allison1-2/+27
Jeremy.
2010-04-28s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().Günther Deschner1-37/+115
With this, I think, all implemented RAP printing calls are routed over SPOOLSS. Torture tests to follow... Guenther
2010-04-28s3-lanman: fix debug message in api_WPrintJobEnumerate().Günther Deschner1-1/+1
Guenther
2010-04-28s3-lanman: remove a unnecessary memset in api_WPrintJobEnumerate().Günther Deschner1-1/+0
Guenther
2010-04-28s3-lanman: remove unused code.Günther Deschner1-134/+0
Guenther
2010-04-28s3-lanman: use spoolss for api_DosPrintQGetInfo and api_DosPrintQEnum.Günther Deschner1-152/+215
Guenther
2010-04-27Don't return an intermediate reply on async on a pipe call (Windows doesn't).Jeremy Allison1-0/+5
Jeremy.
2010-04-28s3-lanman: use spoolss for api_PrintJobInfo().Günther Deschner1-13/+88
Guenther
2010-04-28s3-lanman: remove unsupported print_job_set_place().Günther Deschner1-9/+0
Guenther
2010-04-27s3:smbd: keep local and remote tsocket_address per connectionStefan Metzmacher2-9/+65
metze
2010-04-26Correctly report share types (now Win7 makes RPC calls against us).Jeremy Allison1-1/+7
Jeremy.
2010-04-26Plumb in get_nt_acl into SMB2.Jeremy Allison2-46/+167
Jeremy.
2010-04-26s3: use generated rap header.Günther Deschner1-0/+1
Guenther