Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-11 | s3-winreg: Fix _winreg_QueryValue crash bugs and implement windows behavior. | Günther Deschner | 1 | -11/+8 | |
Found by RPC-WINREG smbtorture test. Guenther | |||||
2010-03-10 | Try and fix bug #7233 - print fails with jobs >4GB from Win7 clients. | Jeremy Allison | 1 | -3/+3 | |
Remove an arbitrarty 4G B limit that *doesn't need to be there* ! Jeremy. | |||||
2010-03-10 | s3-winreg: add some debug statements to _winreg_QueryValue(). | Günther Deschner | 1 | -2/+6 | |
Guenther | |||||
2010-03-05 | Fix for bug #7189 - Open txt files with notepad on samba shares creates problem. | Jeremy Allison | 1 | -0/+2 | |
Ensure we don't use any of the create_options for Samba private use. Add a new parameter to the VFS_CREATE call (private_flags) which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code). Rev. the VFS interface to version 28. Jeremy. | |||||
2010-03-05 | s3-rpc_server: Document rpc_pipe_open_internal. | Andreas Schneider | 1 | -1/+27 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-05 | s3-spoolss: fix _spoolss_EnumPrinterDataEx after idl | Günther Deschner | 1 | -11/+2 | |
Guenther | |||||
2010-03-05 | s3-spoolss: fix _spoolss_GetPrinterDataEx after IDL change. | Günther Deschner | 1 | -11/+27 | |
Guenther | |||||
2010-03-05 | s3-spoolss: fix _spoolss_SetPrinterData{Ex} after IDL change. | Günther Deschner | 1 | -10/+3 | |
Guenther | |||||
2010-03-04 | srv_pipe.c doesn't reference current_user anymore. Remove it. | Jeremy Allison | 1 | -2/+0 | |
Jeremy. | |||||
2010-02-26 | spoolss: fix build and version in spoolss_PrinterInfo0 (aka ↵ | Günther Deschner | 1 | -2/+3 | |
PRINTER_INFO_STRESS). Guenther | |||||
2010-02-25 | s3-spoolss: Save entire devicemode. | Günther Deschner | 1 | -13/+10 | |
found by RPC-SPOOLSS-PRINTER torture test. Guenther | |||||
2010-02-23 | schannel_tdb: make code compilable in both trees | Simo Sorce | 2 | -3/+6 | |
2010-02-23 | s3:schannel streamline interface | Simo Sorce | 2 | -15/+9 | |
Make calling schannel much easier by removing the need to explicitly open the database. Let the abstraction do it instead. | |||||
2010-02-23 | s3:schannel more readable check logic | Simo Sorce | 1 | -5/+39 | |
Make the initial schannel check logic more understandable. Make it easy to define different policies depending on ther caller's security requirements (Integrity/Privacy/Both/None) | |||||
2010-02-23 | s3:spoolss: construct the devmode the same way for level 2 and 8 | Stefan Metzmacher | 1 | -17/+3 | |
metze | |||||
2010-02-22 | s3 Fix the build | Simo Sorce | 1 | -3/+3 | |
I didn't mean to puch the GetForestTrustInformation patch just yet, now that it is in fix the s3 build ... | |||||
2010-02-18 | More fixes for bug #7146 - Samba miss-parses authenticated RPC packets. | Jeremy Allison | 1 | -16/+31 | |
Alignment space calculations are tricky :-). Jeremy. | |||||
2010-02-19 | s3-spoolss: add support for _spoolss_SetPrinter level 8. | Günther Deschner | 1 | -1/+65 | |
Guenther | |||||
2010-02-18 | More fixes for bug #7146 - Samba miss-parses authenticated RPC packets. | Jeremy Allison | 1 | -14/+16 | |
Ensure we calculate the space correctly (including the ss_padding_len) when constructing reply packets. Jeremy. | |||||
2010-02-18 | s3-spoolss: Fix _spoolss_EnumPrinters servername handling. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-02-18 | s3-spoolss: fix return code of spoolss_DeletePrinter. | Günther Deschner | 1 | -1/+1 | |
When the printer has been removed by the "deleteprinter command", we need to check if it is still there and then fail, not fail if we successfully removed it (found by RPC-SPOOLSS-PRINTER). Guenther | |||||
2010-02-18 | s3-spoolss: in spoolss_EnumPrinters r->in.server is a *unique* pointer! | Günther Deschner | 1 | -3/+5 | |
Guenther | |||||
2010-02-18 | s3-spoolss: more AddPrinter{Ex} checks. | Günther Deschner | 1 | -0/+18 | |
Windows will allow to add a non-shared printer that is returned by EnumPrinters. Samba has no notion of non-shared local printers yet, so just make sure to behave like we do elsewhere: a printer autoloaded by samba or added to samba is shared. Guenther | |||||
2010-02-18 | s3-spoolss: add some printer info validation for AddPrinter calls. | Günther Deschner | 1 | -0/+22 | |
Guenther | |||||
2010-02-17 | Fix bug #7146 - Samba miss-parses authenticated RPC packets. | Jeremy Allison | 1 | -120/+311 | |
Parts of the Samba RPC client and server code misinterpret authenticated packets. DCE authenticated packets actually look like this : +--------------------------+ |header | | ... frag_len (packet len)| | ... auth_len | +--------------------------+ | | | Data payload | ... .... | | +--------------------------+ | | | auth_pad_len bytes | +--------------------------+ | | | Auth footer | | auth_pad_len value | +--------------------------+ | | | Auth payload | | (auth_len bytes long) | +--------------------------+ That's right. The pad bytes come *before* the footer specifying how many pad bytes there are. In order to read this you must seek to the end of the packet and subtract the auth_len (in the packet header) and the auth footer length (a known value). The client and server code gets this right (mostly) in 3.0.x -> 3.4.x so long as the pad alignment is on an 8 byte boundary (there are some special cases in the code for this). Tridge discovered there are some (DRS replication) cases where on 64-bit machines where the pad alignment is on a 16-byte boundary. This breaks the existing S3 hand-optimized rpc code. This patch removes all the special cases in client and server code, and allows the pad alignment for generated packets to be specified by changing a constant in include/local.h (this doesn't affect received packets, the new code always handles them correctly whatever pad alignment is used). This patch also works correctly with rpcclient using sign+seal from the 3.4.x and 3.3.x builds (testing with 3.0.x and 3.2.x to follow) so even as a server it should still work with older libsmbclient and winbindd code. Jeremy | |||||
2010-02-16 | s3:rpc streamline memory handling | Simo Sorce | 1 | -13/+5 | |
2010-02-15 | spoolss: disable GetPrinterDriver level 101 (as called by XP). | Günther Deschner | 1 | -2/+6 | |
We still dont get the marshalling right, disable and XP will just fall back to level 6. Guenther | |||||
2010-02-14 | s3-rpc: convert wkssvc to use TYPESAFE_QSORT() | Andrew Tridgell | 1 | -10/+4 | |
2010-02-11 | spoolss: allow to set server architecture via parametric option. | Günther Deschner | 1 | -2/+2 | |
This allows to set "spoolss:architecture = 'Windows x64'" for debugging purpose. Guenther | |||||
2010-02-11 | s3-spoolss: implement spoolss_EnumJobs level 3. | Günther Deschner | 1 | -0/+76 | |
Level 3 has been added with NT 4.0 and Windows 7 (at least 64bit version) makes use of it in order to display queued jobs. Windows 7 will *not* fall back to level 2 if we just return WERR_UNKNOWN_LEVEL, instead there will be no printjobs displayed at all. Guenther | |||||
2010-02-09 | Missed one check on the memcpy for bug #7063. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2010-02-09 | Second part of fix for bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core ↵ | Jeremy Allison | 1 | -1/+4 | |
dumps. Ensure we have no naked memcpy calls. This isn't a crash bug (it's already checked in the data_blob_talloc_zero() above, but I want to get into the pattern of having all memcpy's covered by safety checks. Jeremy. | |||||
2010-02-02 | Fix bug 7063 - Samba 3.4.5 on ubuntu 8.04 64 bit - Core dumps. | Jeremy Allison | 1 | -2/+9 | |
Reported and found by Martin Hochreiter <linuxbox@wavenet.at>. Ensure we copy the right amount of registry data into the outgoing buffer. Jeremy. | |||||
2010-01-31 | s3: Fix some DEBUG messages | Volker Lendecke | 1 | -3/+3 | |
2010-01-19 | s3-spoolss: stricter name checks when opening back-channel notify connection. | Günther Deschner | 1 | -7/+13 | |
Make sure to always check if the name the client passed in spoolss_RemoteFindFirstPrinterChangeNotifyEx is not one of our names. Guenther | |||||
2010-01-10 | s3: Use sid_check_is_domain instead of a direct sid_equal | Volker Lendecke | 1 | -3/+6 | |
2010-01-10 | s3: Replace most calls to sid_append_rid() by sid_compose() | Volker Lendecke | 2 | -6/+5 | |
2010-01-10 | s3: Remove the typedef for "auth_serversupplied_info" | Volker Lendecke | 1 | -1/+1 | |
2010-01-10 | s3: Remove the typedef for "auth_usersupplied_info" | Volker Lendecke | 1 | -1/+1 | |
2010-01-07 | s3: Lock down some srvsvc calls according to what w2k3 seems to do | Volker Lendecke | 1 | -0/+21 | |
2010-01-06 | Second part of the fix for bug #7020 - smbd using 2G memory. | Jeremy Allison | 1 | -0/+7 | |
There was a second leak in the processing of the out_data.frag prs_struct. It needs freeing once the current pdu has been returned asynchronously. Jeremy. | |||||
2009-12-22 | s3:ntlmssp: only include ntlmssp.h where actually needed | Andrew Bartlett | 1 | -0/+1 | |
Andrew Bartlett | |||||
2009-12-15 | s3: Fix _samr_GetAliasMembership for results with 0 rids | Volker Lendecke | 1 | -0/+8 | |
2009-12-10 | s3-spoolss: fix enumprinter key client and server. | Günther Deschner | 1 | -2/+11 | |
Guenther | |||||
2009-12-08 | s3-spoolss: use SPOOLSS_ARCHITECTURE_ALL in driver enum server code. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-12-08 | s3-spoolss: cleanup _spoolss_EnumPrinterDrivers(). | Günther Deschner | 1 | -139/+6 | |
Guenther | |||||
2009-12-08 | s3-spoolss: remove unused architecture from fill_printer_driver_info1(). | Günther Deschner | 1 | -5/+3 | |
Guenther | |||||
2009-12-08 | s3-spoolss: remove ridiculous amount of duplicate driver code. | Günther Deschner | 1 | -436/+44 | |
Guenther | |||||
2009-12-08 | s3-spoolss: fully support level 8 drivers. | Günther Deschner | 1 | -0/+305 | |
Guenther | |||||
2009-12-08 | s3-spoolss: use driver level info8 everywhere in spoolss server internally. | Günther Deschner | 1 | -68/+78 | |
Guenther |