summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_rpc_printer.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:libsmb: get rid of cli_state_remote_nameLuk Claes2012-05-281-6/+6
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_*_sockaddrLuk Claes2012-05-281-2/+3
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:registry: remove usage of reg_objects from net_rpc_printer.cGregor Beck2012-04-251-131/+71
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: Fix Coverity ID 2727 to 2740 -- UNINITVolker Lendecke2012-04-191-7/+12
|
* Move the callers that need to use the new cli_open() back to callingJeremy Allison2011-12-031-2/+2
| | | | it from cli_openx().
* Rename cli_open -> cli_openx. Prelude to replacing generic cli_open()Jeremy Allison2011-12-031-2/+2
| | | | with a call that uses NTCreateX in preference to OpenAndX.
* s3-utils/net_rpc_printer.c: fix error messageBjörn Baumbach2011-07-241-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
* s3-utils/net_rpc_printer.c: replace cli_query_secdesc_old()Björn Baumbach2011-07-231-4/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old()Björn Baumbach2011-07-231-1/+1
| | | | | | Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-utils/net_rpc_printer.c: print more info on write errorBjörn Baumbach2011-07-231-2/+5
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-utils/net_rpc_printer.c: return on read error in net_copy_file()Björn Baumbach2011-07-231-4/+13
| | | | | | replace cli_read_old() with cli_read() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:net_rpc_printer: make use of cli_state_remote_name()Stefan Metzmacher2011-07-221-4/+6
| | | | metze
* s3:net_rpc_printer: make use of cli_state_remote_sockaddr()Stefan Metzmacher2011-07-221-4/+8
| | | | metze
* s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach2011-07-201-1/+1
| | | | | | Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-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
* s3-net_rpc_printer.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-59/+57
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-net: fix potential crash bug in display_print_driver3().Günther Deschner2011-05-131-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
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner2011-05-021-1/+0
| | | | | | needed). Guenther
* s3: Use cli_writeall instead of cli_writeVolker Lendecke2011-04-261-6/+5
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-131-0/+1
| | | | Guenther
* s3-includes: only include ntdomain.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* registry: create and use shared libcli/registry/util_reg.h header.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-utils: run minimal_includes.pl over utils/*.cGünther Deschner2011-03-181-1/+0
| | | | Guenther
* Fix some typesJelmer Vernooij2011-02-281-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* s3-net: use struct based dcerpc_spoolss_EnumPrinterData_r() call.Günther Deschner2011-01-281-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
* s3:net: use dcerpc_spoolss_X() functionsStefan Metzmacher2011-01-211-55/+120
| | | | | | metze Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: Convert cli_set_secdesc to cli_transVolker Lendecke2011-01-151-4/+6
|
* Make 'net rpc printer driver' behave the same as rpcclient enumdriversJoerg Pulz2010-11-181-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
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-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
* s3-net: better handle obscure 0x80070002 error reply when trying to update anGünther Deschner2010-10-011-3/+7
| | | | | | not yet published printer. Guenther
* s3-net: make sure we dont crash when publishing a single printer.Günther Deschner2010-10-011-0/+5
| | | | Guenther
* s3-build: avoid to globally include printing and spoolss headers.Günther Deschner2010-07-311-0/+1
| | | | | | This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
* s3-net: Use talloc_asprintf and return if file is in wrong format.Andreas Schneider2010-06-291-19/+16
| | | | Found by clang-analyzer.
* s3-net: Make sure that the data blob is initialized.Andreas Schneider2010-06-281-0/+2
| | | | Found by clang-analyzer.
* s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().Günther Deschner2010-06-031-4/+8
| | | | | | This fixes some invalid typecasts. Guenther
* s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam2010-05-251-0/+1
| | | | | Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
* s3:net_rpc_printer: use regval_blob/ctr accessor functionsMichael Adam2010-05-251-38/+53
|
* s3:net rpc printer: fix use of a possibly uninitialized variableMichael Adam2010-05-251-1/+1
|
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-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>
* s3-rpc_client: move protos to cli_spoolss.hGünther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-181-1/+1
| | | | Guenther
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-181-6/+6
|
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner2010-04-091-7/+7
| | | | Guenther
* s3-net: fix net after spoolss_EnumPrinterDataEx IDL change.Günther Deschner2010-03-051-9/+2
| | | | Guenther
* s3-net: fix net after spoolss_SetPrinterData{Ex} IDL change.Günther Deschner2010-03-051-24/+6
| | | | Guenther
* s3: fix net and rpcclient after setprinterdataex changes.Günther Deschner2009-12-071-2/+11
| | | | Guenther
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+1
| | | | | | samba. Guenther