summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_spoolss.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-26s3-rpcclient: add getjob spoolss command.Günther Deschner1-0/+119
Guenther
2009-02-26s3-rpcclient: use is_valid_policy_hnd before closing handles.Günther Deschner1-20/+5
Guenther
2009-02-25s3-rpcclient: support level 2 in spoolss_addform.Günther Deschner1-12/+42
Guenther
2009-02-25s3-rpcclient: allow to set level in spoolss getform query and display all ↵Günther Deschner1-6/+41
levels. Guenther
2009-02-25s3-rpcclient: more uses of is_valid_policy_hnd in spoolss and samr commands.Günther Deschner1-20/+5
Guenther
2009-02-25s3-spoolss: use is_valid_policy_hnd to check for valid policy handles.Günther Deschner1-32/+8
Guenther
2009-02-25s3-spoolss: use rpccli_spoolss_addprinterex wrapper.Günther Deschner1-27/+2
Guenther
2009-02-25s3-rpcclient: use rpccli_spoolss_SetPrinter and rpccli_spoolss_getprinter.Günther Deschner1-61/+124
Guenther
2009-02-24s3-rpcclient: use rpccli_spoolss_AddPrinterDriver.Günther Deschner1-50/+69
Guenther
2009-02-24s3-rpcclient: use rpccli_spoolss_getprinterdriver2 wrapper.Günther Deschner1-8/+78
Guenther
2009-02-23s3-rpcclient: use correct clientname in ↵Günther Deschner1-1/+8
spoolss_RemoteFindFirstPrinterChangeNotifyEx command. Guenther
2009-02-19s3-rpcclient: use rpccli_spoolss_GetPrintProcessorDirectory in rpcclient.Günther Deschner1-12/+35
Guenther
2009-02-19s3-rpcclient: use SPOOLSS_ARCHITECTURE_NT_X86 define in spoolss getdriverdir ↵Günther Deschner1-1/+1
cmd. Guenther
2009-02-19s3-rpcclient: use rpccli_spoolss_GetPrinterDriverDirectory in rpcclient.Günther Deschner1-17/+37
Guenther
2009-02-17s3-rpcclient: use rpccli_spoolss_RemoteFindFirstPrinterChangeNotifyEx.Günther Deschner1-20/+29
Guenther
2009-02-14s3-rpcclient: use rpccli_spoolss_AddPrinterEx.Günther Deschner1-16/+42
Guenther
2009-02-12s3-rpcclient: use rpccli_spoolss_GetPrinterDataEx.Günther Deschner1-3/+41
Guenther
2009-02-11Only assign argv[1] after the argc check, thanks Tim!Volker Lendecke1-1/+3
2009-02-11Fix an uninitialized variableVolker Lendecke1-1/+1
2009-02-10s3-rpcclient: use one macro for all printername formats.Günther Deschner1-117/+51
Guenther
2009-02-10s3-rpcclient: use rpccli_spoolss_openprinter_ex helper.Günther Deschner1-97/+87
Guenther
2009-02-09s3-rpcclient: remove a pointless fstring.Günther Deschner1-46/+29
Guenther
2009-02-09s3-rpcclient: use srv_name_slash instead of formating servername again and ↵Günther Deschner1-131/+52
again. Guenther
2009-02-09s3-spoolss: remove whitespace in printing code.Günther Deschner1-189/+189
Guenther
2009-02-09s3-rpcclient: use rpccli_spoolss_DeletePrinterDriverEx.Günther Deschner1-6/+16
Guenther
2009-02-09s3-rpcclient: use rpccli_spoolss_DeletePrinterDriver.Günther Deschner1-3/+9
Guenther
2009-02-09s3-rpcclient: use rpccli_spoolss_GetForm.Günther Deschner1-7/+47
Guenther
2009-02-09s3-rpcclient: use rpccli_spoolss_SetForm.Günther Deschner1-10/+19
Guenther
2009-02-09s3-spoolss: use rpccli_spoolss_AddForm in net and rpcclient.Günther Deschner1-10/+18
Guenther
2009-02-09s3-rpcclient: fix getform command asprintf return code.Günther Deschner1-1/+1
Guenther
2009-02-07s3-spoolss: use rpccli_spoolss_DeleteForm.Günther Deschner1-1/+8
Guenther
2009-02-06s3-spoolss: use rpccli_spoolss_ClosePrinter.Günther Deschner1-21/+21
Guenther
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison1-10/+35
Jeremy.
2008-12-14Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke1-4/+6
This involves changing all our clients, that's why it's so large.
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-7/+7
2008-10-18Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal.Jelmer Vernooij1-1/+1
2008-07-21Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-29/+29
(This used to be commit 85db87c451dacf80e9575c04e9e08c625b3f1199)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-2/+3
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-06-26Fix a segfault in rpcclient adddriverVolker Lendecke1-12/+13
(cherry picked from commit d4b5a9d67389578f531527b339f6feead62f082d) (This used to be commit 8573032877317fe1f5c69e9ced5b19a33d8aefb0)
2008-06-17Fix typo.Karolin Seeger1-12/+12
arguements -> arguments Karolin (This used to be commit 16b5b772d216d10613d433884634b1215efbd6e6)
2008-04-25Move user/domain from rpc_pipe_client to cli_pipe_auth_dataVolker Lendecke1-19/+20
(This used to be commit 42de50d2cd43e760d776694f7b5f003ba51d7f84)
2008-04-20Introduce rpc_pipe_np_smb_conn()Volker Lendecke1-1/+1
This abstracts away all references to rpc_pipe_client->cli, the only reference is now in cli_pipe.c. (This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke1-42/+34
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-03-28Add a talloc context parameter to current_timestring() to fix memleaks.Michael Adam1-4/+8
current_timestring used to return a string talloced to talloc_tos(). When called by DEBUG from a TALLOC_FREE, this produced messages "no talloc stackframe around, leaking memory". For example when used from net conf. This also adds a temporary talloc context to alloc_sub_basic(). For this purpose, the exit strategy is slightly altered: a common exit point is used for success and failure. Michael (This used to be commit 16b5800d4e3a8b88bac67b2550d14e0aaaa302a9)
2008-03-19Fix bug 5338 -- thanks to Yuya Katayama <yuya999@gmail.com>Volker Lendecke1-1/+1
(This used to be commit 5ec2dbd144a3bbfdb14deafd158bad48b2d41ca4)
2008-02-05Fix bug 5421 -- thanks to MJ AnthonyVolker Lendecke1-1/+1
(This used to be commit a3d0450e0a054bdb8997db544a7efc8aa67f074d)
2008-01-25Fix bogus uninitialized variable warningsVolker Lendecke1-1/+1
(This used to be commit 71d6580c837adcc2cddcdff561f6fb09701501ee)
2008-01-23strtok -> strtok_rVolker Lendecke1-4/+6
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2007-12-06Make all the tools use the proper accessor functions.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 6d61bb87975839adb25c304e5e5041f91b12d236)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison1-2/+2
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)