summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-28rpcclient: Use DCERPC_AUTH_LEVEL_CONNECT if no sign/seal is set for krb5 authSimo Sorce1-0/+6
2010-07-28s3-dcerpc: revive cli_rpc_pipe_open_krb5()Simo Sorce1-0/+9
2010-07-28s3-rpcclient: Allow choosing spnego mech: (ntlm/krb5)Simo Sorce1-3/+10
2010-07-28s3-dcerpc: Use dcerpc_AuthType in pipe_auth_dataSimo Sorce1-57/+73
2010-07-08s3-rpcclient: add another usage display to sign and seal commands.Günther Deschner1-0/+2
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-1/+1
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_lsarpc.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_client: move protos to cli_netlogon.hGünther Deschner1-0/+1
Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-0/+1
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-01-24s3: Enable -C in rpcclientVolker Lendecke1-0/+3
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+1
samba. Guenther
2009-11-13s3-rpcclient: use the parsed binding string flags for auth choice.Günther Deschner1-0/+18
This allows rpcclient to be called like this: rpcclient ncacn_ip_tcp:w2k8r2[sign,seal] -U administrator%secret -c "dscracknames gd" Guenther
2009-11-08Revert "s3: Do not directly reference the ndr_table_* in rpcclient"Volker Lendecke1-49/+24
This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5.
2009-11-08s3: Do not directly reference the ndr_table_* in rpcclientVolker Lendecke1-24/+49
2009-11-07s3: get_pipe_name_from_iface -> get_pipe_name_from_syntaxVolker Lendecke1-4/+6
2009-10-13s3: use enum netr_SchannelType all over the place.Günther Deschner1-1/+1
Guenther
2009-09-15s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner1-6/+6
Guenther
2009-09-11s3-rpcclient: make netlogon credential setup also work for interdomain trusts.Günther Deschner1-9/+11
Guenther
2009-09-11s3-rpcclient: avoid using lp_workgroup() unconditionally for crypto.Günther Deschner1-4/+17
Guenther
2009-09-11s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_schannel().Günther Deschner1-0/+1
Guenther
2009-09-11s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp ↵Günther Deschner1-0/+2
and cli_rpc_pipe_open_ntlmssp. Guenther
2009-09-11s3-rpcclient: use cli_rpc_pipe_open_noauth_transport in rpcclient.Günther Deschner1-2/+3
Guenther
2009-09-11s3-rpcclient: add ncacn transport handling for rpcclient.Günther Deschner1-5/+88
Guenther
2009-04-21s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner1-1/+1
Guenther
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-0/+1
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2009-03-18s3: remove POLICY_HND.Günther Deschner1-1/+1
Guenther
2009-03-17Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison1-6/+1
callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy.
2009-02-01cli_get_pipe_name_from_interface does not really need a talloc_ctxVolker Lendecke1-6/+3
2009-01-22Actually complete 3662c2b...Volker Lendecke1-3/+3
2009-01-09start rpcclient epmapperVolker Lendecke1-0/+2
2009-01-08s3-rpcclient: add eventlog test client.Günther Deschner1-0/+2
Guenther
2008-12-14Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke1-19/+31
This involves changing all our clients, that's why it's so large.
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty1-1/+1
Also eliminates name conflicts with OneFS system libraries
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij1-1/+1
2008-07-21Refactoring: rpcclient uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-30/+34
(This used to be commit 85db87c451dacf80e9575c04e9e08c625b3f1199)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_schannelVolker Lendecke1-5/+6
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 1fcfca007f33a2c4e979abf30c2ea0db65bac718)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmsspVolker Lendecke1-14/+16
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit a13f0599551609394904b99e4014d580ec65c506)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke1-5/+8
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-06-10rpcclient: add more useful comments what sign/seal commands are doing.Günther Deschner1-9/+19
Guenther (This used to be commit ec278d8bc82e86c98d24277eb50633f8cd4c7600)
2008-05-24drsuapi: add very basic drsuapi rpcclient command set.Günther Deschner1-0/+2
Guenther (This used to be commit bd13c87bac54d4bbae7b3cd7c9dc991d143d4d89)
2008-05-24Revert "drsuapi: fix the build."Günther Deschner1-2/+0
This reverts commit b2421c81164da2a5ea4bb2391e4f2c410938db42. (This used to be commit f853f3b0aceb7e8454f9f7de38237eecec4317fd)
2008-05-24drsuapi: fix the build.Günther Deschner1-0/+2
Guenther (This used to be commit b2421c81164da2a5ea4bb2391e4f2c410938db42)
2008-05-05Fix client authentication with -P switch in client tools (Bug 5435).Günther Deschner1-1/+14
Guenther (This used to be commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
2008-04-25Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_clientVolker Lendecke1-2/+4
(This used to be commit f665afaaa3eff9ef54112e08ed034a6e1bb30edc)
2008-04-20Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke1-3/+3
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
2008-04-20Introduce rpccli_set_timeout()Volker Lendecke1-1/+1
Reduce dependency on "cli" member of rpc_pipe_client struct (This used to be commit 2e4c1ba38963cffe4c3f25ab24bc28975f2fc291)
2008-04-02Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner1-1/+1
In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8 netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate flags everywhere (not only when running in security=ads). Only for NT4 we need to do a downgrade to the returned negotiate flags. Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6. Guenther (This used to be commit 0970369ca0cb9ae465cff40e5c75739824daf1d0)
2008-02-17Add very basic ntsvcs client to rpcclient.Günther Deschner1-0/+2
Guenther (This used to be commit 0358ad7e933f6a0859000ba56e4bb88506d70610)
2008-02-08Use rpccli_lsa_QueryInfoPolicy() all over the place.Günther Deschner1-6/+6
Guenther (This used to be commit ce22abcea3446e4ad42e8e04654b9855b173c5a1)
2008-01-23Windows 2008 (Longhorn) auth2 flag fixes.Andreas Schneider1-1/+1
Interop fixes for AD specific flags. Original patch from Todd Stetcher. (This used to be commit 5aadfcdaacd6f136eab9e107a88b8544e6d2105f)