summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
2011-08-03s3-ntlmssp Remove rpccli_get_pwd_hash and auth_ntlmssp_get_nt_hashAndrew Bartlett1-18/+20
The session key we want here (the only one that is availble to the encryption layer) is the one obtained by cli_get_session_key(), as NTLMSSP creates a per-session session key via key exchange and NTLMv2 negotiation. The key was never directly the NT hash anyway (this is simply a mistake, the extra MD4() was lost during my previous cleanup f28f113d8e76824b080359c90efd9c92de533740 in 2008), but was MD4(NT hash) in early implementations of NTLMSSP. However, regardless this call is not available on domain trusts between AD domains and Windows 2003 R2, making this less useful. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-28s3:rpcclient: use the lp_load_global() wrapper of lp_load()Michael Adam1-1/+1
2011-07-22s3:rpcclient: make use of cli_state_remote_name()Stefan Metzmacher1-2/+2
metze
2011-07-22s3:rpcclient: use rpc_pipe->desthost instead of cli->desthostStefan Metzmacher1-1/+1
metze
2011-06-09s3:rpcclient: remove unused new_workgroup variableStefan Metzmacher1-4/+0
new_workgroup was not initialized but used to overwrite the value of lp_workgroup(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jun 9 16:00:28 CEST 2011 on sn-devel-104
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett3-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
2011-06-09s3-param Remove special case for lp_workgroup()Andrew Bartlett1-9/+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-06-09s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2-2/+2
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2-5/+5
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
2011-06-09s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett1-2/+2
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
2011-05-18s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett3-5/+5
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 Deschner2-0/+2
Guenther
2011-05-05More simple const fixups.Jeremy Allison1-1/+1
2011-05-05s3-rpcclient: run minimal_includes.pl.Günther Deschner1-1/+0
Guenther
2011-05-02s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner1-1/+0
needed). Guenther
2011-03-31s3-rpcclient: include rpc_client/cli_pipe.h globally in rpcclient.hGünther Deschner8-7/+2
Guenther
2011-03-30s3-includes: only include ntdomain.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-passdb: use passdb headers 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: 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 Deschner2-0/+2
security.h grouping header. Guenther
2011-03-15s3: Fix Coverity ID 2289: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_OpenKey.
2011-02-28Fix some typesJelmer Vernooij2-3/+3
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 Schneider7-0/+7
2011-02-02s3-rpcclient: prefer dcerpc_lsa_X functions.Günther Deschner1-3/+10
Guenther
2011-02-02s3-rpcclient: prefer dcerpc_lsa_X functions.Günther Deschner1-5/+13
Guenther
2011-02-02s3-rpcclient: prefer dcerpc_lsa_X functions.Günther Deschner1-176/+390
Guenther
2011-02-02s3-rpcclient: use status variable.Günther Deschner1-182/+182
Guenther
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-02-01s3:rpcclient/cmd_samr: remove useless ';'Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Feb 1 19:19:24 CET 2011 on sn-devel-104
2011-02-01s3:rpcclient/cmd_netlogon: fix netr_DELTA_* displayStefan Metzmacher1-11/+14
metze
2011-02-01s3-rpcclient: prefer dcerpc_samr_X functions.Günther Deschner1-500/+880
Guenther
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-28s3-rpc_client: remove some more obsolete cli_X.h header files.Günther Deschner2-2/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104
2011-01-24s3-rpcclient: allow to define validation level for samlogon.Günther Deschner1-3/+3
Guenther
2011-01-21s3-rpcclient: prefer dcerpc_spoolss_X functions.Günther Deschner1-74/+205
Guenther
2011-01-21s3-rpc_client: Rename get_query_dispinfo_params.Andreas Schneider1-1/+1
2011-01-21s3-rpcclient: rename duplicate enumkey command to winreg_enumkey.Günther Deschner1-1/+1
Guenther
2011-01-17s3:rpcclient: use dcerpc_echo_X() functionsStefan Metzmacher1-30/+37
metze
2011-01-13s3-rpcclient: prefer dcerpc_winreg_X functions.Günther Deschner1-8/+13
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-rpcclient: prefer dcerpc_srvsvc_X functions.Günther Deschner1-28/+90
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-rpcclient: prefer dcerpc_netr_X functions.Günther Deschner1-27/+82
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
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>
2011-01-12s3-drsuapi: fix error handling after converting to dcerpc_drsuapi_X functions.Günther Deschner1-3/+8
Guenther
2011-01-11s3-drsuapi: prefer dcerpc_drsuapi_X functions.Günther Deschner1-10/+21
Guenther
2011-01-11s3-eventlog: prefer dcerpc_eventlog_X functions.Günther Deschner1-46/+107
Guenther
2011-01-11s3-wkssvc: prefer dcerpc_wkssvc_X functions.Günther Deschner1-6/+11
Guenther
2011-01-11s3:rpcclient: use ndr_dssetup_c.h instead of cli_dssetup.hStefan Metzmacher1-1/+1
metze
2011-01-11s3:rpcclient: use ndr_dfs_c.h instead of cli_dfs.hStefan Metzmacher1-1/+1
metze
2011-01-06s3-rpcclient: use dcerpc_dfs_X functions.Günther Deschner1-12/+24
Guenther