summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_spoolss.c
AgeCommit message (Collapse)AuthorFilesLines
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-61/+584
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-05-07Merge from HEAD:Tim Potter1-3/+46
>Added cli_spoolss_enumjobs() function. >Added cmd_spoolss_enumjobs() function to rpcclient. > >The semantics of the src_len argument to rpcstr_pull() seem to have changed >breaking most of the spoolss commands in rpcclient. Changed a bunch of >0's to -1's to fix it. (This used to be commit dce534d4373cc0f204d82e0876bb94db8dfeb628)
2002-04-10Added cli_spoolss_enumjobs() function.Tim Potter1-0/+52
(This used to be commit 952eb866f44ac0d8ba2032cf251d3a4298a750d3)
2002-04-02some mergee from SAMBA_2_2. Does compile, but needs some more testing.Gerald Carter1-208/+266
This is an intermediate check-in. More to come.... (This used to be commit 5b9b152971aa635d484cde45413a7880424ee22d)
2002-03-08Added case statment for decoding enumprinters level 0 result.Tim Potter1-0/+4
(This used to be commit 33d49ed68c4d6a66217558b13d960764c235089a)
2002-02-25Implemented client side functions for SPOOLSS addform, getform, setform andTim Potter1-6/+160
enumforms. (This used to be commit e69222f0816878e3211e3dedb049de50ca90fed0)
2002-02-20Converted remaining spoolss rpcclient functions to werror/needed/offered.Tim Potter1-150/+128
I couldn't test some of these because I didn't know the right magic arguments to pass to rpcclient (familiar anyone? (-:) so there may be some bugs lurking. (This used to be commit 029e2b307d91171168040e71d2e5d5e0d01b7633)
2002-02-19Converted {cmd,cli}_spoolss_getprinter() to WERROR and offered/neede.Tim Potter1-49/+45
(This used to be commit fccfa034e92bca145b8e0639e405f6af5bb1a50b)
2002-02-19Added cli_spoolss_initialise() function.Tim Potter1-61/+72
Converted cli_spoolss_enumprinterdrivers() to pass offered and *needed as parameters and return a WERROR. (This used to be commit b595c258295ecc4824fe89ba1136c778a1700e28)
2002-01-31Added addform, setform and deleteform cli functions.Tim Potter1-0/+164
(This used to be commit a7e67dc00ae1a9a80875f2708def6565af0c6f0e)
2002-01-30Removed version number from file header.Tim Potter1-1/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-07Converted getprinterdriver to WERROR - it always returns dos error 6Tim Potter1-54/+64
(invalid handle) though. )-: (This used to be commit 7bfd1f35e4e194f8a2f07046e4a6c005c256c05b)
2002-01-06Converted enumprinters and enumports cli functions to return WERRORs.Tim Potter1-106/+129
Make the offered and needed buffer size into parameters. (This used to be commit 9d9e7fb74d420913cda1c592765b498fd64384f0)
2002-01-06spoolss rpc client cleanup:Tim Potter1-56/+60
- converted OpenPrinterEx and ClosePrinter to WERROR instead of NT_STATUS - doc (This used to be commit 248d114f856f1adb76c903b683e0927530771443)
2002-01-03Initialise result on success in cli_spoolss_enum_printers() so we don't getTim Potter1-0/+2
stuck in an infinite loop. (This used to be commit fe1fb6589a0a4b4cff7a0ee0267f6e09e10e2a85)
2002-01-03The werror<->nt status code map has changed and has broken all the spoolssTim Potter1-7/+7
commands in rpcclient. Replacing ERROR_INSUFFICIENT_BUFFER with NT_STATUS_BUFFER_TOO_SMALL fixes it. Yay! I always thought the caller (i.e cmd_spoolss.c) should take care of the whole requested/needed buffer size thingy though... (This used to be commit 6c950db05a2772f11b20cc13c65a123ea8b878c2)
2001-12-13Added comment.Tim Potter1-0/+2
(This used to be commit 594634ff1a1d5f780ddb9909f5365ee3e420a76c)
2001-12-10Added client and server code for the GetPrintProcessorDirectory SPOOLSSTim Potter1-0/+59
rpc. This was supposed to fix a printer driver download bug but it didn't but it seemed a shame to trash all this code so I'm commiting it #ifdef'ed out in case someone needs it one day. (This used to be commit bef43656471741c6c10b12e7516c15de9ae76394)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell1-24/+35
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-08-27Convert to NTSTATUS.Tim Potter1-24/+24
(This used to be commit 9e69f59d6c4ec4e0474c594ada3a05ecc2bc806b)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-8/+8
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-08Factored out common rpc pipe initialisation and shutdown code.Tim Potter1-50/+1
(This used to be commit 04d978258ba2fea702232c815e140ab12364e8e7)
2001-08-06Changed lone malloc() call to talloc(). Spotted byTim Potter1-1/+1
Claudia Moroder <claudiamoroder@st-ulrich.suedtirol.net> (This used to be commit 99ce277fc857069f86824a3c0cd8012f4cede1b6)
2001-05-31merge from 2.2Gerald Carter1-2/+0
(This used to be commit 7e23ed48908cf396610d26efda9f54d5f5f0e83c)
2001-05-17merge from 2.2 DeletePrinterDriver() server side stud comingGerald Carter1-0/+57
in separate commit after I get it working in 2.2. (This used to be commit 09506ac0e64b84d73e3b8fdd4942fa52dba6060f)
2001-04-28rpcclient merge from 2.2 (including Jeremy's non-void return fix)Gerald Carter1-89/+148
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
2001-04-22merging from 2.2 to headAndrew Tridgell1-20/+80
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison1-6/+6
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
2001-03-28rename of 16 new_smb_io functions to smb_io_* for consistency sakeGerald Carter1-10/+10
(merge from 2.2) (This used to be commit ea963a648b889da9e47661c61c7fafe13b277e75)
2001-03-27merge from 2.2.Gerald Carter1-3/+3
(This used to be commit 817258f1174d27d74e8b21ffb5f1384db2238007)
2001-03-19reverted the rename of new_spoolss_io_r_enumprinterdrivers()Gerald Carter1-1/+1
(This used to be commit fd6bfe03f4454272bdce59c78ae7148a72caaf18)
2001-03-15addprinter and adddriver are working now :-)Gerald Carter1-0/+106
(This used to be commit 0cb7639cef4a1ba0d56d7e58bd7e03343cbf229d)
2001-03-15added getdriverdir and cleaned up the PRINTER_DRIVER_CTR structGerald Carter1-2/+94
(This used to be commit 5d321673850e1e28e1bee4093705d7e319421687)
2001-03-15added getdriver and enumdrivers commands. Also fixedGerald Carter1-8/+217
enumprinters so that it works as well. Couple of other misc fixes while we're working on rpcclient. (This used to be commit 83d6bc4454f0cda581d26de32a4fcaad42431b34)
2001-03-15more updates. several spoolss commands added as placeholdersGerald Carter1-1/+1
to be filled in one at a time. (This used to be commit 6aaac3766324302b995b5a55876bf2ab74af1ff8)
2001-03-14set of changes in the beginning of bringing rpcclient changesGerald Carter1-32/+24
back to working order. The main change is that the cli_*() RPC functions from libsmb/*.c now should accept a struct cli_state*. The reason for this is that rpcclient should establish the connection to the server at startup so that it is not necessary to keep the clear test or password hash in memory for each command. enumports and enumprinters now works as well. lsa* functions have been tested. SAMR calls may or may not work (one of the core dumps I know), but it compiles :-) jerry (This used to be commit d98ac8852ae6b39b6fcff92c346ba56d9e63c518)
2001-03-09Missed some prs_inits.Jeremy Allison1-11/+11
Jeremy. (This used to be commit 7a8a7a24d4c328d26d34c3b3ac28af39e6acd32c)
2001-01-10Added init functions, cli_spoolss_open_printer_ex(),Tim Potter1-0/+538
cli_spoolss_closeprinter(), cli_spoolss_enum_printers(), cli_spoolss_enum_ports() and cli_spoolss_getprinter() (This used to be commit 84247ba7d7048cc828edad282313bfd21bbc6b5d)