summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_spoolss.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-18s3-rpcclient: pass struct ndr_interface_table downAndrew Bartlett1-36/+36
This will allow the target service (as determined from the IDL) to be passed to GSSAPI (rather than the current, incorrect, "cifs"). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-01-11s3-rpcclient: add deldriverex flags argumentDavid Disseldorp1-7/+7
The spoolss DeletePrinterDriverEx command offers three flags for controlling how associated files and other versions of the driver are effected: DPD_DELETE_UNUSED_FILES (1), DPD_DELETE_SPECIFIC_VERSION (2) and DPD_DELETE_ALL_FILES (4). This commit adds an optional numeric flags argument to the rpcclient deldriverex command. Signed-off-by: David Disseldorp <ddiss@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Wed Jan 11 14:39:35 CET 2012 on sn-devel-104
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-2/+2
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett1-2/+2
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-05s3-rpcclient: run minimal_includes.pl.Günther Deschner1-1/+0
Guenther
2011-03-31s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.hGünther Deschner1-1/+0
Guenther
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: no point in including all security headers globally.Günther Deschner1-0/+1
Guenther
2011-03-16libcli/security: move display_sec headers to own header file and add toGünther Deschner1-0/+1
security.h grouping header. Guenther
2011-02-28Fix some typesJelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-02s3: Remove superfluous ;Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 15:44:21 CET 2011 on sn-devel-104
2011-01-28s3-rpcclient: use struct based dcerpc_spoolss_EnumPrinterData_r() call.Günther Deschner1-43/+38
This is a workaround for a string issue we currently have with argument based generated dcerpc client code (see bug #7804 for details). Guenther
2011-01-21s3-rpcclient: prefer dcerpc_spoolss_X functions.Günther Deschner1-74/+205
Guenther
2011-01-12s3-rpcclient: Fix bug #7880: cmd_spoolss_deletedriver() returned without ↵Björn Baumbach1-1/+5
checking all architectures. Continues now with next architecture if no driver is available. Because of the broken behavior of the rpccli_*() functions, we need special error code handling. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-12-20s3: Remove unused "retry" from cli_full_connectionVolker Lendecke1-1/+1
2010-11-17s3-rpcclient: exit early in cmd_spoolss_enum_data() when there is a failure.Günther Deschner1-0/+9
Guenther
2010-10-07s3-rpcclient: add openprinter_ex command.Günther Deschner1-1/+47
Guenther
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner1-0/+1
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-06-23Add parse_setjob_command() to make setting job state easier for users.Jeremy Allison1-1/+30
Jeremy.
2010-06-05s3-rpcclient: allow to add access_mask in cmd_spoolss_open_printer_ex().Günther Deschner1-5/+7
Guenther
2010-06-03s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().Günther Deschner1-63/+6
This fixes some invalid typecasts. Guenther
2010-05-25s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam1-0/+1
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
2010-05-25s3:rpcclient:spoolss: use regval_ctr/blob accessor functions.Michael Adam1-16/+24
2010-05-18s3-rpc_client: move protos to init_spoolss.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_spoolss.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-1/+1
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij1-2/+2
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2010-05-10s3-rpcclient: fix two more invalid typecasts in spoolss commands.Günther Deschner1-9/+47
Guenther
2010-05-03s3-rpcclient: Fix Bug #7277. rpcclient was sending invalid data, causing ↵Günther Deschner1-4/+23
cupsaddsmb to fail. Guenther
2010-04-09s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner1-2/+2
Guenther
2010-03-05s3-rpcclient: Leave setprinterdata directly if not enough args were passed.Andreas Schneider1-2/+1
If we don't pass enough arguments we don't have to close the connection. Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-05s3-rpcclient: fix rpcclient after spoolss_EnumPrinterDataEx IDL change.Günther Deschner1-5/+4
Guenther
2010-03-05s3-rpcclient: fix rpcclient after spoolss_GetPrinterData{Ex} IDL change.Günther Deschner1-16/+38
Guenther
2010-03-05s3-rpcclient: fix rpcclient after spoolss_SetPrinterData{Ex} IDL change.Günther Deschner1-2/+8
Guenther
2009-12-17s3-spoolss: fix rpcclient after setprinter IDL fixes.Günther Deschner1-2/+2
Guenther
2009-12-10s3-rpcclient: allow to set offered size for enumkey command.Günther Deschner1-4/+9
Guenther
2009-12-07s3: fix net and rpcclient after setprinterdataex changes.Günther Deschner1-17/+6
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-11-08Revert "s3: Do not directly reference the ndr_table_* in rpcclient"Volker Lendecke1-140/+35
This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
2009-11-08s3: Do not directly reference the ndr_table_* in rpcclientVolker Lendecke1-35/+140
2009-10-01s3-registry: use pull_reg_sz() where appropriate.Günther Deschner1-7/+5
(and move away from rpcstr_pull and rpcstr_pull_talloc). Guenther
2009-09-30s3: use pull_reg_multi_sz in rpcclient and net.Günther Deschner1-7/+6
Guenther
2009-07-17s3-rpcclient: add createprinteric command.Günther Deschner1-0/+43
Guenther
2009-05-13s3-printing: no need to define struct table_node 4 times.Günther Deschner1-7/+1
Guenther
2009-05-11Fix a bunch of compiler warnings about wrong format types.Jeremy Allison1-3/+4
Should make Solaris 10 builds look cleaner. Jeremy.
2009-05-07s3-rpcclient: rework enumdrivers call a bit to allow queries like win7 does.Günther Deschner1-69/+97
Guenther
2009-05-06s3-rpcclient: print more infolevels in printer and driver info levels.Günther Deschner1-7/+238
Guenther