summaryrefslogtreecommitdiff
path: root/source4/rpc_server/spoolss
AgeCommit message (Collapse)AuthorFilesLines
2009-08-20s4-spoolss: add stubs for new idl opcodes in spoolss server.Günther Deschner1-0/+140
Guenther
2009-06-29Small patch for SPOOLSS pipeMatthias Dieter Wallnöfer1-5/+5
Prevents a crash of the SAMBA 4 daemon on the torture SPOOLSS test due to not initialised structures.
2009-03-17s4-spoolss: use winreg_Type for GetPrinterData implementation.Günther Deschner1-2/+2
Guenther
2009-03-17s4-spoolss: fix spoolss_GetPrinterData w.r.t. out pointer changes.Günther Deschner1-1/+7
Guenther
2009-03-07s4-spoolss: just return OK for dcesrv_spoolss_EnumPrintProcDataTypes for now.Günther Deschner1-1/+1
Guenther
2009-03-06s4-spoolss: fix spoolss server enum calls after pointer changes.Günther Deschner1-10/+10
Guenther
2009-02-25s4-spoolss: implement dcesrv_spoolss_AddJob which always is a dummy.Günther Deschner1-1/+5
Guenther
2009-02-25s4-spoolss: implement dcesrv_spoolss_GetPrintProcessorDirectory.Günther Deschner1-1/+13
Guenther
2009-02-17s4-spoolss: fix spoolss server after out,ref count pointer changes.Günther Deschner1-10/+10
Guenther
2009-02-17s4-spoolss: fix dcesrv_spoolss_RemoteFindFirstPrinterChangeNotifyEx server.Günther Deschner1-5/+6
Guenther
2009-02-11s4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.Günther Deschner1-6/+6
Guenther
2009-02-10s4-spoolss: fix dcerpc_spoolss_ReplyOpenPrinter caller.Günther Deschner1-2/+2
Guenther
2009-02-07s4-spoolss: try to fix dcesrv_spoolss_GetPrinterData.Günther Deschner1-0/+3
Guenther
2009-02-06s4-spoolss: fix dcesrv_spoolss_GetPrinterData.Günther Deschner1-2/+2
Guenther
2009-02-06s4-spoolss: fix spoolss server w.r.t. needed out pointers (+ remove tmp macro).Günther Deschner1-13/+11
Guenther
2009-02-06s4-spoolss: fix s4 spoolss server build (using a temp macro).Günther Deschner1-6/+8
Guenther
2009-02-02s4:rpc_server: s/private/private_dataStefan Metzmacher1-7/+7
metze
2009-01-01Fix syntax errors.Jelmer Vernooij1-12/+20
2008-10-24Remove another use of global_loadparm.Jelmer Vernooij1-1/+1
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-1/+2
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-1/+1
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2007-12-21r26353: Remove use of global_loadparm.Jelmer Vernooij1-1/+2
(This used to be commit 17637e4490e42db6cdef619286c4d5a0982e9d1a)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-1/+1
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21r26296: Store loadparm context in DCE/RPC server context.Jelmer Vernooij1-7/+7
(This used to be commit fc1f4d2d65d4c983cba5421e7ffb64dd75482860)
2007-10-10r25553: Convert to standard bool type.Jelmer Vernooij1-1/+1
(This used to be commit b7371f1a191fb86834c0d586d094f39f0b04544b)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-7/+7
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij1-4/+71
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r20850: Prefix all server calls with dcesrv_Jelmer Vernooij1-107/+107
(This used to be commit 76c78b0339cd88c61a13745f7f4e037f400db21b)
2007-10-10r16523: pass spoolss_XcvData calls to the ntptr backends...Stefan Metzmacher1-4/+33
I wrote this code last year and found it in a working tree... metze (This used to be commit 9a685c5beff6936d354d541e875899d33b735ba9)
2007-10-10r14702: Accept our netbios aliases as valid names in the SPOOLSS server.Andrew Bartlett1-0/+10
(Suggested by metze) Andrew Bartlett (This used to be commit 3dff2a0078e541392f585d81f7aea987c87edbf1)
2007-10-10r14486: remove the need of a stream_connection on a dcesrv_connection,Stefan Metzmacher1-1/+1
and let the transport set callbacks for getting the own and peer socket_address metze (This used to be commit 56fac3ddbbeecb834e5c7a439df344e11fe12a7b)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-5/+7
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r11597: revert a commit by mistakeSimo Sorce1-0/+12
(This used to be commit 09e6f494b490127ace1a9d1077c2757d813abc55)
2007-10-10r11567: Ldb API change patch.Simo Sorce1-12/+0
This patch changes the way lsb_search is called and the meaning of the returned integer. The last argument of ldb_search is changed from struct ldb_message to struct ldb_result which contains a pointer to a struct ldb_message list and a count of the number of messages. The return is not the count of messages anymore but instead it is an ldb error value. I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good amount of places. I also tried to double check all my changes being sure that the calling functions would still behave as before. But this patch is big enough that I fear some bug may have been introduced anyway even if it passes the test suite. So if you are currently working on any file being touched please give it a deep look and blame me for any error. Simo. (This used to be commit 22c8c97e6fb466b41859e090e959d7f1134be780)
2007-10-10r10854: talloc_get_type() can return NULL..Jelmer Vernooij1-0/+12
(This used to be commit 8f7070055fc577cb4234654420539c68992d9671)
2007-10-10r8052: that looks nicer:-)Stefan Metzmacher1-1/+1
metze (This used to be commit dad0371a9fea0de080650cb081beafdaa773ceda)
2007-10-10r8046: - add somemore failure checks in the RPC-SPOOLSS testStefan Metzmacher1-8/+31
- test AddForm on the PrintServer object - GetForm() isn't allowed on the PrintServer object so remove NTPTR function for it - accept the dns name as servername in the spoolss server metze (This used to be commit d8c308a4653d59514915021607fe55c5f2b38749)
2007-10-10r7802: Remove a junk file.Tim Potter1-71/+0
(This used to be commit a2d60dd878671d7ec4dbe631e8138d2279a2c6a4)
2007-10-10r7644: - remove some dublicate structures SetForm and AddForm uses the same ↵Stefan Metzmacher1-3/+63
struct - fix some typos in EnumPrintServerForms()/GetPrintServerForms() - add AddPrintServerForms()/SetPrintServerForms() and DeletePrintServerForms metze (This used to be commit 73906388421beebb34f2a00c9e0d1fc8b400a42a)
2007-10-10r7643: This patch adds a new NTPTR subsystem:Stefan Metzmacher3-664/+290
- this is an abstraction layer for print services, like out NTVFS subsystem for file services - all protocol specific details are still in rpc_server/spoolss/ - like the stupid in and out Buffer handling - checking of the r->in.server_name - ... - this subsystem can have multiple implementation selected by the "ntptr providor" global-section parameter - I currently added a "simple_ldb" backend, that stores Printers, Forms, Ports, Monitors, ... in the spoolss.db, and does no real printing this backend is basicly for testing, how the spoolss protocol works - the interface is just a prototype and will be changed a bit the next days or weeks, till the simple_ldb backend can handle all calls that are used by normal w2k3/xp clients - I'll also make the api async, as the ntvfs api this will make things like the RemoteFindFirstPrinterChangeNotifyEx(), that opens a connection back to the client, easier to implement, as we should not block the whole smbd for that - the idea is to later implement a "unix" backend that works like the current samba3 code - and maybe some embedded print server vendors can write there own backend that can directly talk to a printer without having cups or something like this - the default settings are (it currently makes no sense to change them :-): ntptr providor = simple_ldb spoolss database = $private_dir/spoolss.db metze (This used to be commit 455b5536d41bc31ebef8290812f45d4a38afa8e9)
2007-10-10r7580: - add GetPrinterDriverDirectory() idl, torture test and server codeStefan Metzmacher2-16/+152
- add EnumMonitors() server code and return "Standard TCP/IP Port" - add parsing for opening Ports and Monitors with OpenPrinterEx() metze (This used to be commit 08e6de37bc293e2f000d03b51642964d92d6e95e)
2007-10-10r7574: - seperate [in] and [out] buffers and buf_sizesStefan Metzmacher1-29/+15
- use the same names as etherel (offered,needed) for the buffer sizes (and they are really independently used) metze (This used to be commit f5532a5b74e972f44ed8aa19ee9c5851a4b40f65)
2007-10-10r7536: doesn't spam the smbd_log in the build_farm...Stefan Metzmacher1-1/+1
metze (This used to be commit 9f4ed54c58a1d029b171ad199dd4a7ccf1f96f64)
2007-10-10r7465: - return empty lists for nowStefan Metzmacher1-4/+10
- return WERR_NOT_SUPPORTED on AddPort() (we pass the RPC-SPOOLSS test now :-) metze (This used to be commit d62db5b7d3b6418e870b87c8fd33a1587ecc1728)
2007-10-10r7370: change debug levelsStefan Metzmacher1-4/+4
metze (This used to be commit 665e4f0bd47117ce597f7eb6be0b89420582c471)
2007-10-10r7368: some server side spoolss stuff, w2k3 shows the printers icon,Stefan Metzmacher1-28/+200
and I can view the print server properties... But it didn't like our EnumPorts() reply and also didn't show the test Form... (jerry: can you have a look at this?) metze (This used to be commit 42c9a66da9b4adf1c44dcca13ea184ed2e7a4681)
2007-10-10r7120: make use of the new 'noopnum' property and get rid of handwrittenStefan Metzmacher1-18/+8
parsing code for the spoolss_Enum* functions, there still same handwritten code needed but just to stack the autogenerated code into the correct way metze (This used to be commit 155d18e8b78afebfb4a84e43e3b4d8fc6c9cc4e2)
2007-10-10r6193: we don't need to store the handle type here,Stefan Metzmacher2-3/+1
it's in handle->wire_handle.handle_type metze (This used to be commit 539286bc9fa1638dd564fb2f8ba924a0ede8db08)