Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3-spoolss: fix search_notify(). sorry... | Günther Deschner | 2009-02-26 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | s3-spoolss: job status defines moved to IDL. | Günther Deschner | 2009-02-26 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | s3-spoolss: remove some unused defines and structs. | Günther Deschner | 2009-02-26 | 1 | -2/+1 |
| | | | | Guenther | ||||
* | s3-spoolss: fix _spoolss_AddJob behaviour. | Günther Deschner | 2009-02-25 | 1 | -0/+4 |
| | | | | Guenther | ||||
* | s3-spoolss: make us pass the RPC-SPOOLSS torture test w.r.t. directory calls. | Günther Deschner | 2009-02-25 | 1 | -38/+24 |
| | | | | Guenther | ||||
* | Replace read_pkt by read_packet in np_read | Volker Lendecke | 2009-02-24 | 1 | -8/+8 |
| | |||||
* | Use async_writev in np_write | Volker Lendecke | 2009-02-24 | 1 | -12/+10 |
| | |||||
* | s3-spoolss: merge path handling in _spoolss_PrintProcessorDirectory and | Günther Deschner | 2009-02-24 | 1 | -36/+91 |
| | | | | | | _spoolss_PrinterDriverDirectory. Guenther | ||||
* | More warning fixes for Solaris. | Jeremy Allison | 2009-02-23 | 1 | -3/+3 |
| | | | | Jeremy. | ||||
* | s3-spoolss: use pidl for _spoolss_RemoteFindFirstPrinterChangeNotifyEx. | Günther Deschner | 2009-02-23 | 2 | -49/+14 |
| | | | | Guenther | ||||
* | s3-spoolss: use spoolss_NotifyOption and spoolss_NotifyType instead of ↵ | Günther Deschner | 2009-02-23 | 1 | -74/+31 |
| | | | | | | SPOOL_NOTIFY_OPTION and SPOOL_NOTIFY_OPTION_TYPE. Guenther | ||||
* | s3-spoolss: add dup_spoolss_NotifyOption. | Günther Deschner | 2009-02-23 | 1 | -0/+51 |
| | | | | Guenther | ||||
* | s3-spoolss: use more idl types in spoolss server. | Günther Deschner | 2009-02-23 | 1 | -10/+14 |
| | | | | Guenther | ||||
* | s3-spoolss: fix memleak of spoolss_Notify array in ↵ | Günther Deschner | 2009-02-23 | 2 | -4/+8 |
| | | | | | | _spoolss_RouterRefreshPrinterChangeNotify. Guenther | ||||
* | s3-spoolss: use rpccli_spoolss_RouterReplyPrinterEx. | Günther Deschner | 2009-02-23 | 1 | -2/+36 |
| | | | | Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_RouterRefreshPrinterChangeNotify. | Günther Deschner | 2009-02-23 | 2 | -47/+24 |
| | | | | Guenther | ||||
* | s3-spoolss: use struct spoolss_NotifyInfo instead of SPOOL_NOTIFY_INFO. | Günther Deschner | 2009-02-23 | 1 | -106/+76 |
| | | | | Guenther | ||||
* | s3-spoolss: use struct spoolss_Notify instead of SPOOL_NOTIFY_INFO_DATA. | Günther Deschner | 2009-02-23 | 1 | -367/+166 |
| | | | | Guenther | ||||
* | s3-spoolss: fix _spoolss_GetPrinterDriverDirectory and ↵ | Günther Deschner | 2009-02-21 | 1 | -2/+2 |
| | | | | | | | | | spoolss_GetPrintProcessorDirectory. Both calls need to return NULL in the error case to avoid ndr encoding problems. (found by smbtorture spoolss test). Guenther | ||||
* | s3-eventlog: fix rpcclient and server stub for eventlog_GetLogInformation. | Günther Deschner | 2009-02-21 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | Remove the static "chal" from ntlmssp.c:get_challenge() | Volker Lendecke | 2009-02-21 | 1 | -2/+2 |
| | |||||
* | s3-spoolss: fix vista fallback in _spoolss_AddPrinterDriverEx. | Günther Deschner | 2009-02-19 | 1 | -2/+1 |
| | | | | | | | Martin Zielinski, if you're reading this, please have a look. Vista nicely takes just a WERR_UNKNOWN_LEVEL here and retries with a level 6 add. Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_AddPrinterDriver{Ex}. | Günther Deschner | 2009-02-19 | 2 | -128/+218 |
| | | | | Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_GetPrintProcessorDirectory. | Günther Deschner | 2009-02-19 | 2 | -82/+46 |
| | | | | Guenther. | ||||
* | s3-spoolss: fix _spoolss_GetPrinterDriverDirectory. | Günther Deschner | 2009-02-19 | 1 | -1/+6 |
| | | | | | | | treat architecture correctly as it is a [unique] pointer, and newer Windows versions sometimes send in an empty string. Guenther | ||||
* | s3-spoolss: _spoolss_OpenPrinterEx needs to wipe out policy handle upon failure. | Günther Deschner | 2009-02-19 | 1 | -0/+10 |
| | | | | Guenther | ||||
* | s3-spoolss: _spoolss_AddPrinterEx needs to wipe out policy handle upon failure. | Günther Deschner | 2009-02-19 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_GetPrinterDriverDirectory. | Günther Deschner | 2009-02-19 | 2 | -94/+38 |
| | | | | Guenther | ||||
* | s3-spoolss: add support for "AddPort" via _spoolss_XcvData for Vista. | Günther Deschner | 2009-02-19 | 1 | -9/+68 |
| | | | | Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_XcvData. | Günther Deschner | 2009-02-18 | 2 | -83/+113 |
| | | | | Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_ResetPrinter. | Günther Deschner | 2009-02-17 | 2 | -38/+10 |
| | | | | Guenther | ||||
* | Fix an invalid typecasting | Volker Lendecke | 2009-02-17 | 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 | ||||
* | Fix bug 5920 | Yasuma Takeda | 2009-02-16 | 1 | -1/+1 |
| | | | | | The length of the memcpy was calculated wrong, r->out.return_authenticator is a pointer | ||||
* | s3:netlogon: implement _netr_LogonGetCapabilities() with ↵ | Stefan Metzmacher | 2009-02-16 | 1 | -4/+3 |
| | | | | | | | | NT_STATUS_NOT_IMPLEMENTED This hopefully fixes bug #6100. metze | ||||
* | Attempt to fix bug #6099. According to Microsoft | Jeremy Allison | 2009-02-15 | 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. | ||||
* | s3: Fix uninitialized const char * | Tim Prouty | 2009-02-13 | 1 | -0/+1 |
| | |||||
* | s3-spoolss: remove unused convert_printer_info. | Günther Deschner | 2009-02-14 | 1 | -31/+0 |
| | | | | Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_SetPrinter. | Günther Deschner | 2009-02-14 | 2 | -60/+31 |
| | | | | Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_AddPrinterEx. | Günther Deschner | 2009-02-14 | 2 | -63/+31 |
| | | | | Guenther | ||||
* | s3-spoolss: add printer_info2_to_nt_printer_info2 and convert_printer_info_new. | Günther Deschner | 2009-02-14 | 1 | -0/+67 |
| | | | | Guenther | ||||
* | s3-netlogon: some more appropriate debug messages. | Günther Deschner | 2009-02-14 | 1 | -13/+31 |
| | | | | Guenther | ||||
* | Parameterize in local.h the MAX_RPC_DATA_SIZE, and ensure | Jeremy Allison | 2009-02-13 | 2 | -1/+53 |
| | | | | | | that "offered" read from the rpc packet in spoolss is under that size. Tidyup from analysis from Veracode. Jeremy. | ||||
* | s3-netlogon: implement _netr_ServerAuthenticate3. | Günther Deschner | 2009-02-13 | 1 | -23/+56 |
| | | | | Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_SetPrinterDataEx. | Günther Deschner | 2009-02-12 | 2 | -55/+23 |
| | | | | Guenther | ||||
* | s3-spoolss: use pidl for _spoolss_GetPrinterDataEx. | Günther Deschner | 2009-02-12 | 2 | -73/+28 |
| | | | | Guenther | ||||
* | s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL. | Günther Deschner | 2009-02-11 | 1 | -4/+4 |
| | | | | Guenther | ||||
* | s3-spoolss: Fix uninitialised variable warning. | Günther Deschner | 2009-02-11 | 1 | -0/+2 |
| | | | | Guenther | ||||
* | s3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43. | Günther Deschner | 2009-02-11 | 1 | -6/+6 |
| | | | | Guenther | ||||
* | s3-spoolss: use rpccli_spoolss_ReplyOpenPrinter. | Günther Deschner | 2009-02-10 | 1 | -8/+10 |
| | | | | Guenther | ||||
* | Add queueing to np_write | Volker Lendecke | 2009-02-10 | 1 | -9/+38 |
| |