summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-15s3:libsmb: pass max_protocol to cli_negprot()Stefan Metzmacher1-1/+1
metze
2011-09-08s3:libsmb: pass CLI_FULL_CONNECTION_* flags via cli_connect_nb()Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 8 10:21:50 CEST 2011 on sn-devel-104
2011-08-22s3-net: Added the command rpc conf to the net binary.Vicentiu Ciorbaru1-0/+8
The net binary now has an extra item linked to it, the net_rpc_conf.c module. Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-22s3-net: Fixed whitespace errorsVicentiu Ciorbaru1-7/+7
Fixed previously existing whitespace errors in net_rpc.c Signed-off-by: Michael Adam <obnox@samba.org>
2011-08-03s3-ntlmssp Remove rpccli_get_pwd_hash and auth_ntlmssp_get_nt_hashAndrew Bartlett1-6/+6
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-08-02s3:net_rpc: make use of cli_state_protocol()Stefan Metzmacher1-1/+1
metze
2011-07-23s3-utils/net_rpc.c: replace cli_query_secdesc_old()Björn Baumbach1-1/+1
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-22s3:net_rpc: make use of cli_state_remote_name()Stefan Metzmacher1-2/+2
metze
2011-07-22s3:net_rpc: use netr->desthost instead of cli->desthostStefan Metzmacher1-1/+1
metze
2011-07-22s3:net_rpc: make use of cli_state_remote_sockaddr()Stefan Metzmacher1-1/+2
metze
2011-07-20s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵Stefan Metzmacher1-2/+2
cli_state_[g|s]et_tid() metze
2011-07-07s3:utils: avoid cli_nt_error()/cli_errstr() if we already have the statusStefan Metzmacher1-2/+2
metze
2011-07-06s3: make cli_resolve_path return NTSTATUSVolker Lendecke1-2/+4
This looks larger than it is. No parameters needed changing.
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-7/+7
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 Bartlett1-1/+1
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_ZERO_P() to talloc_zero()Andrew Bartlett1-3/+3
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-01s3: fix more -Wunused-but-set-variable build warnings.Günther Deschner1-3/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104
2011-05-28s3: Use cli_connect_nb in net_rpc_checkVolker Lendecke1-8/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 28 21:57:04 CEST 2011 on sn-devel-104
2011-05-18s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett1-1/+1
strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. 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-06More const fixes... getting near the end now.Jeremy Allison1-9/+9
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
2011-05-04Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison1-3/+3
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett1-2/+2
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-06s3-net: Add net trust utilitySumit Bose1-0/+8
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-31s3-net: Do not use uninitialized valueSumit Bose1-0/+2
s3-net: Do not use uninitialized value Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Mar 31 18:09:57 CEST 2011 on sn-devel-104
2011-03-30s3-passdb: use passdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-winbind: remove global inclusion of libwbclient.Günther Deschner1-0/+1
Guenther
2011-03-15s3-libsmb: only include rap client when needed.Günther Deschner1-0/+1
Guenther
2011-03-05s3-net: Use wbcSidToStringBufVolker Lendecke1-17/+3
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-02s3-net: prefer dcerpc_lsa_X functions in "net rpc".Günther Deschner1-42/+113
Guenther
2011-02-02s3:net: "net rpc vampire" is an alias for "net rpc vampire passdb"Stefan Metzmacher1-4/+1
The should use exactly the same code path for both. metze
2011-02-02s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_list.Günther Deschner1-10/+40
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 00:21:19 CET 2011 on sn-devel-104
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.Günther Deschner1-15/+58
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.Günther Deschner1-11/+31
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.Günther Deschner1-11/+17
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.Günther Deschner1-17/+45
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.Günther Deschner1-18/+37
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.Günther Deschner1-8/+17
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.Günther Deschner1-13/+26
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.Günther Deschner1-40/+91
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.Günther Deschner1-14/+34
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.Günther Deschner1-17/+47
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.Günther Deschner1-15/+31
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.Günther Deschner1-13/+40
Guenther
2011-02-01s3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.Günther Deschner1-43/+117
Guenther