summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_printer.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-19s3: Fix Coverity ID 2727 to 2740 -- UNINITVolker Lendecke1-7/+12
2011-12-03Move the callers that need to use the new cli_open() back to callingJeremy Allison1-2/+2
it from cli_openx().
2011-12-03Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison1-2/+2
with a call that uses NTCreateX in preference to OpenAndX.
2011-07-24s3-utils/net_rpc_printer.c: fix error messageBjörn Baumbach1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jul 24 19:01:47 CEST 2011 on sn-devel-104
2011-07-23s3-utils/net_rpc_printer.c: replace cli_query_secdesc_old()Björn Baumbach1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach1-1/+1
Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-utils/net_rpc_printer.c: print more info on write errorBjörn Baumbach1-2/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-23s3-utils/net_rpc_printer.c: return on read error in net_copy_file()Björn Baumbach1-4/+13
replace cli_read_old() with cli_read() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-22s3:net_rpc_printer: make use of cli_state_remote_name()Stefan Metzmacher1-4/+6
metze
2011-07-22s3:net_rpc_printer: make use of cli_state_remote_sockaddr()Stefan Metzmacher1-4/+8
metze
2011-07-20s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach1-1/+1
Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-1/+1
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-net_rpc_printer.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-59/+57
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-13s3-net: fix potential crash bug in display_print_driver3().Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 18:49:06 CEST 2011 on sn-devel-104
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner1-0/+1
Guenther
2011-05-02s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner1-1/+0
needed). Guenther
2011-04-26s3: Use cli_writeall instead of cli_writeVolker Lendecke1-6/+5
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include ntdomain.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-18s3-utils: run minimal_includes.pl over utils/*.cGünther Deschner1-1/+0
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-01-28s3-net: use struct based dcerpc_spoolss_EnumPrinterData_r() call.Günther Deschner1-42/+34
This is a workaround for a string issue we currently have with argument based generated dcerpc client code (see bug #7804 for details). Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 22:05:20 CET 2011 on sn-devel-104
2011-01-21s3:net: use dcerpc_spoolss_X() functionsStefan Metzmacher1-55/+120
metze Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-15s3: Convert cli_set_secdesc to cli_transVolker Lendecke1-4/+6
2010-11-18Make 'net rpc printer driver' behave the same as rpcclient enumdriversJoerg Pulz1-2/+8
when dealing with unsupported architectures. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Nov 18 21:40:40 CET 2010 on sn-devel-104
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-0/+1
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-01s3-net: better handle obscure 0x80070002 error reply when trying to update anGünther Deschner1-3/+7
not yet published printer. Guenther
2010-10-01s3-net: make sure we dont crash when publishing a single printer.Günther Deschner1-0/+5
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-29s3-net: Use talloc_asprintf and return if file is in wrong format.Andreas Schneider1-19/+16
Found by clang-analyzer.
2010-06-28s3-net: Make sure that the data blob is initialized.Andreas Schneider1-0/+2
Found by clang-analyzer.
2010-06-03s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().Günther Deschner1-4/+8
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:net_rpc_printer: use regval_blob/ctr accessor functionsMichael Adam1-38/+53
2010-05-25s3:net rpc printer: fix use of a possibly uninitialized variableMichael Adam1-1/+1
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-11/+11
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
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-6/+6
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2010-04-09s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner1-7/+7
Guenther
2010-03-05s3-net: fix net after spoolss_EnumPrinterDataEx IDL change.Günther Deschner1-9/+2
Guenther
2010-03-05s3-net: fix net after spoolss_SetPrinterData{Ex} IDL change.Günther Deschner1-24/+6
Guenther
2009-12-07s3: fix net and rpcclient after setprinterdataex changes.Günther Deschner1-2/+11
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
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/+7
Guenther
2009-09-30s3-registry: use push_reg_sz().Günther Deschner1-9/+8
Guenther