Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-19 | s3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory. | Günther Deschner | 2 | -94/+38 | |
Guenther | |||||
2009-02-19 | s3-spoolss: add support for "AddPort" via _spoolss_XcvData for Vista. | Günther Deschner | 1 | -9/+68 | |
Guenther | |||||
2009-02-18 | s3-spoolss: use pidl for _spoolss_XcvData. | Günther Deschner | 2 | -83/+113 | |
Guenther | |||||
2009-02-17 | s3-spoolss: use pidl for _spoolss_ResetPrinter. | Günther Deschner | 2 | -38/+10 | |
Guenther | |||||
2009-02-17 | Fix an invalid typecasting | Volker Lendecke | 1 | -1/+7 | |
entry->num_of_strings is a uint16_t. Casting it with (int *)&entry->num_of_strings is wrong, because it gives add_string_to_array the illusion that the object "num" points to is an int, which it is not. In case we are running on a machine where "int" is 32 or 64 bits long, what happens with that cast? "add_string_to_array" interprets the byte field that starts where "num_of_strings" starts as an int. Under very particular circumstances this might work in a limited number of cases: When the byte order of an int is such that the lower order bits of the int are stored first, the subsequent bytes which do not belong to the uint16_t anymore happen to be 0 and the result of the increment still fits into the first 2 bytes of that int, i.e. the result is < 65536. The correct solution to this problem is to use the implicit type conversion that happens when an assignment is done. BTW, this bug is found if you compile with -O3 -Wall, it shows up as a warning: rpc_server/srv_eventlog_lib.c:574: warning: dereferencing type-punned pointer will break strict-aliasing rules Thanks, Volker | |||||
2009-02-16 | Fix bug 5920 | Yasuma Takeda | 1 | -1/+1 | |
The length of the memcpy was calculated wrong, r->out.return_authenticator is a pointer | |||||
2009-02-16 | s3:netlogon: implement _netr_LogonGetCapabilities() with ↵ | Stefan Metzmacher | 1 | -4/+3 | |
NT_STATUS_NOT_IMPLEMENTED This hopefully fixes bug #6100. metze | |||||
2009-02-15 | Attempt to fix bug #6099. According to Microsoft | Jeremy Allison | 1 | -17/+26 | |
Windows 7 looks at the negotiate_flags returned in this structure *even if the call fails with access denied ! So in order to allow Win7 to connect to a Samba NT style PDC we set the flags before we know if it's an error or not. Jeremy. | |||||
2009-02-13 | s3: Fix uninitialized const char * | Tim Prouty | 1 | -0/+1 | |
2009-02-14 | s3-spoolss: remove unused convert_printer_info. | Günther Deschner | 1 | -31/+0 | |
Guenther | |||||
2009-02-14 | s3-spoolss: use pidl for _spoolss_SetPrinter. | Günther Deschner | 2 | -60/+31 | |
Guenther | |||||
2009-02-14 | s3-spoolss: use pidl for _spoolss_AddPrinterEx. | Günther Deschner | 2 | -63/+31 | |
Guenther | |||||
2009-02-14 | s3-spoolss: add printer_info2_to_nt_printer_info2 and convert_printer_info_new. | Günther Deschner | 1 | -0/+67 | |
Guenther | |||||
2009-02-14 | s3-netlogon: some more appropriate debug messages. | Günther Deschner | 1 | -13/+31 | |
Guenther | |||||
2009-02-13 | Parameterize in local.h the MAX_RPC_DATA_SIZE, and ensure | Jeremy Allison | 2 | -1/+53 | |
that "offered" read from the rpc packet in spoolss is under that size. Tidyup from analysis from Veracode. Jeremy. | |||||
2009-02-13 | s3-netlogon: implement _netr_ServerAuthenticate3. | Günther Deschner | 1 | -23/+56 | |
Guenther | |||||
2009-02-12 | s3-spoolss: use pidl for _spoolss_SetPrinterDataEx. | Günther Deschner | 2 | -55/+23 | |
Guenther | |||||
2009-02-12 | s3-spoolss: use pidl for _spoolss_GetPrinterDataEx. | Günther Deschner | 2 | -73/+28 | |
Guenther | |||||
2009-02-11 | s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL. | Günther Deschner | 1 | -4/+4 | |
Guenther | |||||
2009-02-11 | s3-spoolss: Fix uninitialised variable warning. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2009-02-11 | s3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43. | Günther Deschner | 1 | -6/+6 | |
Guenther | |||||
2009-02-10 | s3-spoolss: use rpccli_spoolss_ReplyOpenPrinter. | Günther Deschner | 1 | -8/+10 | |
Guenther | |||||
2009-02-10 | Add queueing to np_write | Volker Lendecke | 1 | -9/+38 | |
2009-02-10 | Add queueing to np_read_state, simulate message-type named pipes. | Volker Lendecke | 1 | -25/+100 | |
The problem with msg-type pipes is that we have to return short reads when a message ends before the read request. When reading from the unix domain socket, the message limits are lost. So we would happily return more than a message, which confuses for example the s4 rpc client horribly. I'd expect other np rpc clients also to blow up over this. The real solution is to properly implement a two-byte length field per message on the unix domain socket, but this requires more changes there. And as we right now only serve DCE/RPC over the named pipes, this implements a hack that looks into the fragment headers to figure out hdr.frag_len. | |||||
2009-02-10 | s3-spoolss: use pidl for _spoolss_OpenPrinter. | Günther Deschner | 2 | -81/+20 | |
Guenther | |||||
2009-02-10 | s3-spoolss: remove old spoolss_OpenPrinterEx. | Günther Deschner | 1 | -86/+0 | |
Guenther | |||||
2009-02-10 | s3-spoolss: use pidl for _spoolss_OpenPrinterEx. | Günther Deschner | 2 | -68/+35 | |
Guenther | |||||
2009-02-10 | s3-spoolss: use pidl for _spoolss_SetJob. | Günther Deschner | 2 | -38/+9 | |
Guenther | |||||
2009-02-10 | s3-spoolss: use pidl for _spoolss_StartDocPrinter. | Günther Deschner | 2 | -52/+21 | |
Guenther | |||||
2009-02-10 | s3-spoolss: add temporary convert_devicemode_new function. | Günther Deschner | 1 | -0/+75 | |
Guenther | |||||
2009-02-10 | s3-spoolss: use SPOOLSS_JOB_CONTROL bits defined in IDL. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2009-02-09 | s3 spoolss: arch needs to be set before it's passed to get_version_id. | Tim Prouty | 1 | -3/+3 | |
7717ad688099860fa0989ed3582435404fd6d4fa left arch unitialized. Guenther, please check. | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_ScheduleJob. | Günther Deschner | 2 | -35/+6 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_AddJob. | Günther Deschner | 2 | -44/+10 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use rpccli_spoolss_ReplyClosePrinter. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_AddPrintProcessor. | Günther Deschner | 2 | -36/+17 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use PRINTER_ENUM_NAME and remove double enum define. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_FindClosePrinterNotify. | Günther Deschner | 2 | -37/+9 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove whitespace in printing code. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-09 | Fix count in _srvsvc_NetDiskEnum() | Volker Lendecke | 1 | -0/+2 | |
Without this, remotely adding a share via MMC fails | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_DeletePrinterDriverEx. | Günther Deschner | 2 | -42/+12 | |
Guenther | |||||
2009-02-09 | s3-spools: use pidl for _spoolss_DeletePrinterDriver. | Günther Deschner | 2 | -41/+11 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_DeletePrinterKey. | Günther Deschner | 2 | -46/+15 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_DeletePrinterData. | Günther Deschner | 2 | -49/+15 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_DeletePrinterDataEx. | Günther Deschner | 2 | -51/+14 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_GetForm. | Günther Deschner | 2 | -62/+30 | |
Guenther | |||||
2009-02-09 | s3-spoolss: add fill_form_info_1. | Günther Deschner | 1 | -0/+21 | |
Guenther | |||||
2009-02-09 | s3-spoolss: restore delete_a_form(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_SetForm. | Günther Deschner | 2 | -41/+13 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for spoolss_AddForm. | Günther Deschner | 2 | -40/+12 | |
Guenther |