summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-14s3-spoolss: use pidl for _spoolss_SetPrinter.Günther Deschner1-21/+1
Guenther
2009-02-14s3-spoolss: use pidl for _spoolss_AddPrinterEx.Günther Deschner1-21/+1
Guenther
2009-02-12s3-spoolss: use pidl for _spoolss_SetPrinterDataEx.Günther Deschner1-21/+1
Guenther
2009-02-12s3-spoolss: use pidl for _spoolss_GetPrinterDataEx.Günther Deschner1-22/+1
Guenther
2009-02-10s3-spoolss: use pidl for _spoolss_OpenPrinter.Günther Deschner1-21/+1
Guenther
2009-02-10s3-spoolss: use pidl for _spoolss_OpenPrinterEx.Günther Deschner1-22/+1
Guenther
2009-02-10s3-spoolss: use pidl for _spoolss_SetJob.Günther Deschner1-21/+1
Guenther
2009-02-10s3-spoolss: use pidl for _spoolss_StartDocPrinter.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_ScheduleJob.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_AddJob.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_AddPrintProcessor.Günther Deschner1-25/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_FindClosePrinterNotify.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterDriverEx.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spools: use pidl for _spoolss_DeletePrinterDriver.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterKey.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterData.Günther Deschner1-22/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_DeletePrinterDataEx.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_GetForm.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spoolss: use pidl for _spoolss_SetForm.Günther Deschner1-21/+1
Guenther
2009-02-09s3-spoolss: use pidl for spoolss_AddForm.Günther Deschner1-21/+1
Guenther
2009-02-07s3-spoolss: use pidl for _spoolss_WritePrinter.Günther Deschner1-21/+1
Guenther
2009-02-07s3-spoolss: use pidl for _spoolss_DeleteForm.Günther Deschner1-21/+1
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_EndDocPrinter.Günther Deschner1-21/+1
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_AbortPrinter.Günther Deschner1-21/+1
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_EndPagePrinter.Günther Deschner1-21/+1
Guenther
2009-02-06wGünther Deschner1-1/+1
2009-02-06s3-spoolss: use pidl for _spoolss_StartPagePrinter.Günther Deschner1-21/+1
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_DeletePrinter.Günther Deschner1-22/+1
Guenther
2009-02-06s3-spoolss: call the correct get_pipe_fns function in proxy_spoolss_call().Günther Deschner1-1/+1
Guenther
2009-02-06s3-spoolss: use pidl for _spoolss_ClosePrinter.Günther Deschner1-21/+1
Guenther
2009-02-06s3-spoolss: prepare to use generated spoolss.Günther Deschner1-24/+23
Guenther
2009-01-09Fake up ndr_table_spoolssVolker Lendecke1-4/+27
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-9/+0
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-07-16In api_pipe_bind_req(), check for the iface id, not the pipe nameVolker Lendecke1-1/+12
This requires to store the rpc_interface in "struct rpc_table" (This used to be commit 654f8de8497aff29f9b1f1822b6a8e734ff329e0)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-52/+52
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r21100: Add the RPC hack fix to adddriver as well as adddriverex.Jeremy Allison1-0/+9
Thanks to Martin Zielinski <mz@seh.de>. Jeremy. (This used to be commit d18a3f8b72f0f4cf0aa5b599f36ce3f4125adac3)
2007-10-10r21047: Hand marshalling hack from Martin Zielinski <mz@seh.de>Jeremy Allison1-0/+9
to allow Vista to upload printer drivers (it wants level 8 which we don't support yet). Downgrade in the same way that Windows servers do. Jeremy. (This used to be commit 01c659692c3e054904f1af815cf243b8a1dde109)
2007-10-10r13815: "Into the blind world let us now descend,"Gerald Carter1-45/+10
Began the poet, his face as pale as death. "I will go first, and you will follow me." --- Adding XcvDataPort() to the spoolss code for remotely add ports. The design is to allow an intuitive means of creating a new CUPS print queue from the Windows 2000/XP APW without hacks like specifying the deviceURI in the location field of the printer properties dialog. Also set 'default devmode = yes' as the new default since it causes no harm and only is executed when you have a NULL devmode anyways. (This used to be commit 123e478ce5b5f63a61d00197332b847e83722468)
2007-10-10r5806: * fix a couple more segvs in spoolssGerald Carter1-0/+3
* comment out unused variable after jra's change to revert the 56bit des smb signing changes (This used to be commit 13ed08cd2a1097021cc44f4109859ba89db7df81)
2003-08-23it never amazes me when some new things crawls out of the windowsGerald Carter1-1/+1
spooler. :-( When installing the Adobe PS driver onto a Samba printer via cupsaddsmb, I noticed a WIN2k client sending DeletePrinterData("DependentFiles") pver and over. I also noticed that we never checked to see if the value was valid. No now we do and return WERR_BADFILE which I think is correct. Next, I noticed that we never wrote the updated printer out to disk after a succesfully DeletePrinterData[Ex](). Finally, I found a driver (Canon BJC 1000 using the Adobe PS drivers and foomatic PPD file) that was destroying the device name string in the devmode. So now get_a_printer_2() always writes out the device name in \\server\share form. I think these changes might fix bug 294. (This used to be commit deb25780874b66e68ac597db24fbc50e7f7458b5)
2003-08-14Attempt at fixing bug #283. There however is no solution.Gerald Carter1-2/+9
There is a workaround documented in the bug report. This patch does: * add server support for the LSA_DS UUID on the lsarpc pipe * store a list of context_ids/api_structs in the pipe_struct so that we don't have to lookup the function table for a pipe. We just match the context_id. Note that a dce/rpc alter_context does not destroy the previous context so it is possible to have multiple bindings active on the same pipe. Observed from standalone win2k sp4 client. * added server code for DsROleGetPrimaryDOmainInfo() but disabled it since it causes problems enumerating users and groups from a 2ksp4 domain member in a Samba domain. (This used to be commit 96bc2abfcb0dd0912696fad76e43cb217b33e061)
2003-08-01Update my copyrights according to my agreement with IBMJim McDonough1-1/+1
(This used to be commit a2bd8f0bfa12f2a1e33c96bc9dabcc0e2171700d)
2003-08-01Fix copyright statements for various pieces of Anthony Liguori's work.Jim McDonough1-1/+1
(This used to be commit 15d2bc47854df75f8b2644ccbc887d0357d9cd27)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-2/+2
function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-15use the new modules system for the rpc modules (backport from HEAD)Jelmer Vernooij1-4/+0
(This used to be commit aca7319e8d45eb604f28b8bd490413b08e2c98f2)
2003-02-14merge from HEAD - enable dynamic RPC modulesJim McDonough1-14/+15
(This used to be commit d9c485b01017594d113502f9de2248d6c120cfa3)
2002-08-17Sync 3.0 branch with HEADJelmer Vernooij1-0/+63
(This used to be commit e01596853e3eea533baa08c33f26ded75f33fdd4)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-2/+123
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)