summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2000-03-16fix a bug in enumprinterdriversJean-François Micouleau1-6/+14
J.F. (This used to be commit a8d04c26da601cb97e66c27c7ad21dd672fcec2d)
2000-03-13oops ! forgot smb.h in last commitJean-François Micouleau1-2/+3
added info level 1 parsing code for addprinter(ex) J.F. (This used to be commit 4847f7b17b2d23e4efd4e7cae6bfcfc2319b9409)
2000-03-13small fix for addprinterex at level 2Jean-François Micouleau1-10/+8
I have some network dumps at level 1, but quoting MSDN: "Level [in] Specifies the version of the structure to which pPrinter points. This value must be 2." I like NT so much :-) J.F. (This used to be commit fbf40c6a9140a27e773d59eaf056c9e25659d9b8)
2000-03-13parse correctly getprinterdriver2Jean-François Micouleau1-42/+43
found a stupid bug in enumprinters fixed some memleaks found a coredump in enumprinterdata getprinterdriverdir responds correctly now. J.F. (This used to be commit 07f2e194ba61e72320636fb7e5d0f041e255868b)
2000-03-11You *must* use O_EXCL when using mktemp (security issue).Jeremy Allison1-1/+1
Glad this code never shipped :-). This is not a problem in 2.0.x. Jeremy. (This used to be commit a0c302f4d03ab07d697115fa8520d0cb0b2ba616)
2000-03-10Fixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes ↵Jeremy Allison1-0/+3
-Wpointer-arith -Wcast-qual Partially implemented rpc daemon redirect (needs more work). Jeremy. (This used to be commit a462191698fa589ceac4afd14c652adf699eccad)
2000-03-10getprinter level 0: was to short, found most of the fields, undocumented,Jean-François Micouleau1-121/+193
undecoded, nothing in MSDN, but now it works :-) cleanup of error codes. fixed some dfs declarations function. J.F. (This used to be commit 87da4404aba29a2ebd999886e4c06958c96d3e05)
2000-03-07Enumprinters level 1: reply *exactly* like an NT serverJean-François Micouleau1-102/+126
BTW, found a little memleak in it. J.F. (This used to be commit 9c37b5df2de9bf8fa6f5536fd75f9c8faf338a52)
2000-03-07fixed enumprinterdata.Jean-François Micouleau1-2/+2
J.F. (This used to be commit 2b4f09e7bbcbf1bf835f299e9f6bf89b32a7f03f)
2000-03-06changed prs_unistr to parse empty and non-empty strings the same way.Jean-François Micouleau1-6/+13
fixed typo in SPOOLSS_SYNT some cleanup of unused functions wrote make_spoolss_enumprinter and make_spoolss_openprinterex for rpcclient as I'm trying to keep in sync the parsing code between HEAD and TNG. Will commit changes to TNG after lunch. J.F. (This used to be commit 025cdb345f6de287a41d4449b2662dbc5e762bf2)
2000-02-26added enumprintprocessordatatypesJean-François Micouleau1-0/+49
now NT is happy and the "always send data in RAW mode" is checked J.F. (This used to be commit d7bcfe17cee64a513595d7c44456e93e88f2448b)
2000-02-26rewrote enumprinterdata. still a bug in it but reproducing it hard andJean-François Micouleau1-103/+110
borring. I need a client test program urgently!!! rewrote setprinter, doesn't coredump anymore, and no memleak. J.F. (This used to be commit b76ae1f92f4f12b38c4245456cdd2db970724077)
2000-02-24made dynamic the Printer struct. No more limits :-)Jean-François Micouleau1-187/+169
J.F. (This used to be commit b59233b3b61b17e85f5d5b44cc6f2ced9d27b497)
2000-02-24converted a couple of bzero() to memset()Jean-François Micouleau1-203/+266
rewrote the printer notify code, so now it's compatible with SP5 and fully dynamic. No more limits on printers and job lists. removed the make_xxx() functions as they are not used and broken fixed a bug in the open handle function. J.F. (This used to be commit aa9054d14bc940f251639ab897d9f356814f5fc0)
2000-02-21more rewrite ...Jean-François Micouleau1-237/+418
comitting before starting on new functions. J.F. (This used to be commit f9c20801114f72b587a6e8c3177cbab13dbdcc28)
2000-02-15fix the reply of rpc_alter_contextJean-François Micouleau1-403/+804
OpenPrinterEx is now decoding correctly the query most of the EnumXXX use the new_buffer struct. check the (un)marshalling return code. conclusion: still a long way to go. all the client code has to be rewritten, and I still wonder how to implement correctly the notify stuff. (This used to be commit 3d6d3863751787b08d40268c83221add1487a5c9)
2000-02-07Hum, I should remove my gloves when I'm in front of an xterm :)Jean-François Micouleau1-21/+24
fixed a stupid bug in unistr2_to_ascii that I introduced fixed getprinterdata() (This used to be commit 2f544a807714024c0fe2ddc26e11c9ddcb47e81f)
2000-02-07First commit of the spoolss code to the HEAD branch.Jean-François Micouleau1-0/+3434
still needs a lot of cleaning/debuging. J.F. (This used to be commit bd9d4cdde9193c120c6f4e8cf72f87cd67a9387e)