summaryrefslogtreecommitdiffstats
path: root/source3/rpc_client
Commit message (Collapse)AuthorAgeFilesLines
* s3-printing: add rpc_client/cli_winreg_spoolss.cGünther Deschner2011-07-072-0/+4662
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.hGünther Deschner2011-07-072-0/+182
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-printing: move driver_info_ctr_to_info8 to init_spoolss.hGünther Deschner2011-07-072-0/+91
| | | | | | Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
* s3-rpc_server: Migrate rpc function to tsocket_address.Andreas Schneider2011-07-041-4/+12
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-rpc_client: Fix some valgrind warnings.Andreas Schneider2011-06-211-10/+12
| | | | | | These are in/out values and need to be initialized. Signed-off-by: Günther Deschner <gd@samba.org>
* source3/rpc_client/util_netlogon.h: fix licence/copyrightGünther Deschner2011-06-101-0/+24
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 10 16:27:24 CEST 2011 on sn-devel-104
* source3/rpc_client/init_spoolss.h: fix licence/copyrightGünther Deschner2011-06-101-0/+22
| | | | Guenther
* source3/rpc_client/init_samr.h: fix licence/copyrightGünther Deschner2011-06-101-0/+23
| | | | Guenther
* source3/rpc_client/init_netlogon.h: fix licence/copyrightGünther Deschner2011-06-101-0/+24
| | | | Guenther
* source3/rpc_client/init_lsa.h: fix licence/copyrightGünther Deschner2011-06-101-0/+24
| | | | Guenther
* source3/rpc_client/cli_spoolss.h: fix licence/copyrightGünther Deschner2011-06-101-0/+29
| | | | Guenther
* source3/rpc_client/cli_netlogon.h: fix licence/copyrightGünther Deschner2011-06-101-0/+26
| | | | Guenther
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-094-10/+10
| | | | | | | | 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-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-092-12/+12
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-092-10/+10
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett2011-06-091-1/+1
| | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
* lib/util/time.c: timeval_current_ofs_msecRusty Russell2011-06-011-3/+3
| | | | | | | | | | Several places want "milliseconds from current time", and several were simply doing "msec * 1000" which can (and does in one place) result in a usec value over 1 a million. Using a helper to do this is safer and more readable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-062-0/+2
| | | | Guenther
* Fix many const compiler warnings.Jeremy Allison2011-05-051-1/+1
|
* s3-rpc_client: run minimal_includes.pl.Günther Deschner2011-05-053-3/+0
| | | | Guenther
* s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner2011-05-022-2/+0
| | | | | | needed). Guenther
* s3-proto: remove duplicate prototypes.Günther Deschner2011-04-291-0/+1
| | | | Guenther
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-293-0/+3
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
* s3-tsocket: only include ../lib/tsocket/tsocket.h where needed.Günther Deschner2011-04-291-0/+1
| | | | Guenther
* s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()Stefan Metzmacher2011-04-241-5/+1
| | | | | | | | | | | | | Most fault codes have a NTSTATUS representation, so use that. This brings the fault handling in common with the source4/librpc/rpc code, which make it possible to share more highlevel code, between source3 and source4 as the error checking can be the same now. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 986, BUFFER_SIZE_WARNINGVolker Lendecke2011-04-221-1/+1
| | | | strncpy can leave the destination unterminated
* s3-proto: move more rpc client prototypes to cli_pipe.h.Günther Deschner2011-04-211-0/+9
| | | | Guenther
* Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs ↵Jeremy Allison2011-04-191-12/+9
| | | | | | | | | | | | are null. Correct fix - ensure we have enough length, and correctly null out passed in structs if not. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 19 00:17:08 CEST 2011 on sn-devel-104
* s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-136-0/+61
| | | | Guenther
* s3-cli_pipe: fix timeout in rpc_pipe_open_tcp_port().Günther Deschner2011-04-131-1/+1
| | | | | | | | | | | | Make sure we use a timeout of 60 seconds, not 60 milliseconds... This prevented us from successfully using the ncacn_ip_tcp client in a lot of places, I guess. Guenther Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 13 18:59:19 CEST 2011 on sn-devel-104
* s3-rpc_client: move rpc_cli_transport structs and protos to rpc_transport.hGünther Deschner2011-04-124-0/+110
| | | | Guenther
* s3: include ../librpc/gen_ndr/lsa.h where needed.Günther Deschner2011-03-302-0/+6
| | | | Guenther
* s3-includes: only include ntdomain.h where needed.Günther Deschner2011-03-302-0/+2
| | | | Guenther
* s3-auth: rpc_server needs auth.hGünther Deschner2011-03-301-0/+2
| | | | Guenther
* s3-passdb: use passdb headers 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:rpc_client: fix argument order of call to lsa_open_policy2 in ↵Michael Adam2011-03-291-1/+1
| | | | | | | rpccli_lsa_open_policy2 Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Mar 29 01:34:28 CEST 2011 on sn-devel-104
* s3-rpc_client: actually call lsa_open_policy2() in rpccli_lsa_open_policy2().Günther Deschner2011-03-231-6/+7
| | | | | | | | | Found by Sumit Bose <sbose@redhat.com>, thanks! Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 23 20:12:38 CET 2011 on sn-devel-104
* s3-epmapper: Use DCERPC_AUTH_LEVEL_CONNECT for ep ncalrpc.Andreas Schneider2011-03-231-1/+1
|
* s3: Fix Coverity ID 2232, REVERSE_INULLVolker Lendecke2011-03-161-2/+4
| | | | No point checking for !cli after dereferencing it
* s3: Fix Coverity ID 2319: Uninitialized readVolker Lendecke2011-03-161-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3: Fix Coverity ID 2278: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3: Fix Coverity ID 2280: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3: Fix Coverity ID 2282: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3: Fix Coverity ID 2288: Uninitialized readVolker Lendecke2011-03-151-1/+1
| | | | | We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
* s3: Fix a typoVolker Lendecke2011-03-111-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 11 13:15:00 CET 2011 on sn-devel-104
* s3-rpc_client: Don't ask endpoint mapper for its own port.Andreas Schneider2011-03-091-0/+6
|
* s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind.Andreas Schneider2011-03-082-0/+36
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-284-0/+151
|
* s3:rpc_client: we need to pass a non-blocking socket to ↵Stefan Metzmacher2011-02-241-0/+2
| | | | | | | | | tstream_bsd_existing_socket() metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 24 07:43:59 CET 2011 on sn-devel-104