summaryrefslogtreecommitdiff
path: root/source3/rpc_client
AgeCommit message (Collapse)AuthorFilesLines
2008-06-11rpc_client: fix some valgrind warnings.Günther Deschner1-2/+4
Guenther (This used to be commit 0352682a355b42ced7628a720a6889d8453e7946)
2008-05-25Fix a const warningVolker Lendecke1-1/+2
Jelmer, would it be possible to make the rpc client functions take const pointers for pure [in] arguments? (This used to be commit d893b2ea13d2e64f1c13aa3984f77baa91a2c658)
2008-05-24drsuapi: always use tcp for drsuapi.Günther Deschner1-2/+36
cli_rpc_pipe_open() now uses tcp transport for drsuapi and named pipe transport for all other pipes. This finally allows rpcclient to call dscracknames on windows (don't forget to call "seal" in advance). Guenther (This used to be commit b243a036026e79b8d3fb75bf7f7d59a27cb813af)
2008-05-23Fix a (bogus) uninitialized variable warningVolker Lendecke1-1/+1
(This used to be commit 6106d48a5c94e7c1f3a7234807e43aca0a51fa62)
2008-05-22rpc_client: make rpc_pipe_open_tcp_port and rpc_pipe_get_tcp_port static.Michael Adam1-7/+7
Slim the interface... Michael (This used to be commit 9971118c23900d81e885a013e738a67df790c90c)
2008-05-22rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp().Michael Adam1-7/+160
Michael (This used to be commit f7db445c828c0eef2c08b538bd07d485dc248689)
2008-05-21rpc_client: add a destructor to close the socket for pipes over tcp.Volker Lendecke1-0/+10
used in rpc_pipe_open_tcp() and rpc_pipe_open_ncalrpc(). (This used to be commit a0bdd56c75ca6f6c6068995647c0dc1ba89aef12)
2008-05-21Add client support for NCACN_UNIX_STREAMVolker Lendecke1-4/+86
(This used to be commit 24ac40518f79fd480baaedc1d42f3b6fe8ea1c94)
2008-05-21rpccli_schannel_bind_data only needs the schannel keyVolker Lendecke1-3/+4
(This used to be commit be5d54a363a57113e494202a2d22dd9bbcf13b41)
2008-05-21Rename rpc_pipe_client.tcp.sock to rpc_pipe_client.sock.fdVolker Lendecke1-7/+7
(This used to be commit 2ff908a902ec857856518eaddb5246dd5067063d)
2008-05-21Fix a commentVolker Lendecke1-1/+1
(This used to be commit 8ae39c1339758795a91c6a168e210357e7f29eae)
2008-05-17Factor out generation of an info3 struct from a serversupplied_infoVolker Lendecke1-0/+173
(This used to be commit e60faccc1bdd2b80e039ec8c93683be10752f937)
2008-05-05Fix two uninitialized variable warningsVolker Lendecke1-3/+4
(This used to be commit 48fd7b3635137e2fe77c0b0413965869194421ff)
2008-04-25Attempt to fix the non-krb buildVolker Lendecke1-0/+4
(This used to be commit 31d80a476701c89bf236997f2ab68bd2765579bd)
2008-04-25Add basic ncacn_ip_tcp client infrastructureVolker Lendecke1-71/+241
(This used to be commit 11072ccc7aeb6e087e78cea83959a2f6e0b2f837)
2008-04-25Introduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_clientVolker Lendecke1-52/+71
Should be no functional change, just a change in the data structure (This used to be commit 3433f430b0c1f7d350a40eac783385a2d30d905c)
2008-04-25Introduce rpccli_pipe_txt(), describing a pipe for debug messagesVolker Lendecke1-93/+62
(This used to be commit 83892d51de0dcdaeae18bc34d03eefefc95ff601)
2008-04-25cli_rpc_pipe_open_noauth must take the user/domain from the smb sessionVolker Lendecke1-0/+18
(This used to be commit 6f08128cf2722618e74b603e180e7e2a83d7d07a)
2008-04-25Make use of rpccli_xxx_bind_dataVolker Lendecke1-168/+62
(This used to be commit f9bc336affd2ce21a3c62880ecea2622f35653d1)
2008-04-25Create rpccli_xxx_bind_data functionsVolker Lendecke1-0/+198
These functions create the auth data for the later bind (This used to be commit 630b9c241cb6db758f8290420a38af452569e903)
2008-04-25Move user/domain from rpc_pipe_client to cli_pipe_auth_dataVolker Lendecke2-17/+19
(This used to be commit 42de50d2cd43e760d776694f7b5f003ba51d7f84)
2008-04-25Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_clientVolker Lendecke1-54/+65
(This used to be commit f665afaaa3eff9ef54112e08ed034a6e1bb30edc)
2008-04-21Remove the "pwd" struct from rpc_pipe_clientVolker Lendecke1-2/+12
The only user of this was decrypt_trustdom_secret, and this only needs the NT hash anyway. (This used to be commit 3d8c2a47e677a4c4aacf4abf148b1bd8163c3351)
2008-04-20Fix some empty lines with just spacesVolker Lendecke1-13/+12
(This used to be commit f8fb9b7e3759bec7fbcf93b27438ca6b03202ddb)
2008-04-20Introduce rpc_pipe_np_smb_conn()Volker Lendecke1-0/+5
This abstracts away all references to rpc_pipe_client->cli, the only reference is now in cli_pipe.c. (This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
2008-04-20Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke1-14/+43
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
2008-04-20Refactoring: Move stuff around for creating a pipeVolker Lendecke1-38/+36
(This used to be commit 45be749ed69f8c1ad3ebe8ea1f35c806db2ed5d0)
2008-04-20Remove the pipe_idx variable from rpc_pipe_clientVolker Lendecke3-47/+30
(This used to be commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6)
2008-04-20Remove some unused code referencing pipe_names[]Volker Lendecke1-17/+0
(This used to be commit d8a04b798c44c26a91a37fa7090dd071a1909166)
2008-04-20Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_nameVolker Lendecke1-2/+17
Also make sure that rpc_pipe_client->user_name is always talloced. (This used to be commit 3f6c5b99664a75a6f490ee3b6980b89cacf7f579)
2008-04-20Introduce rpccli_set_timeout()Volker Lendecke1-0/+6
Reduce dependency on "cli" member of rpc_pipe_client struct (This used to be commit 2e4c1ba38963cffe4c3f25ab24bc28975f2fc291)
2008-04-20Move srv_name_slash from cli_state to rpc_pipe_clientVolker Lendecke3-7/+14
(This used to be commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke3-27/+33
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-20Refactoring: Make struct rpc_pipe_client its own talloc parentVolker Lendecke2-21/+15
(This used to be commit a6d74a5a562b54f0b36934965f545fdeb1e8b34a)
2008-04-19Set the right domain\user in cli_rpc_pipe_open_ntlmssp_internalVolker Lendecke1-2/+2
This probably does not matter in current code, but without this it's not possible to do the bind as a different user than the underlying smb user. Jeremy, please check! Thanks, Volker (This used to be commit b90062e33cbde7de4961414fd35a3a588760d002)
2008-04-17rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduceJelmer Vernooij1-2/+2
duplication. (This used to be commit 428654b473ba44b2f5340eefef0d4fcd51aff558)
2008-04-15Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.Jelmer Vernooij1-1/+1
(This used to be commit 7bea00dca1ee08ef731dfa73110ef9c190a29919)
2008-04-04Move rpccli_try_samr_connects out of rpcclient.Günther Deschner1-0/+44
Guenther (This used to be commit f550cdb6f240830ee1e3a2dfe5f4128bca0cf836)
2008-04-03Fix rpccli_lsa_lookup_sids_noalloc.Günther Deschner1-3/+11
When looking up e.g. a trusted doamin account, there is just no name. Michael, please check. Guenther (This used to be commit ea3cfadc2504c891b4784719bd8e6debcc38c879)
2008-04-02Fix NETLOGON credential chain with Windows 2008 all over the place.Günther Deschner2-2/+13
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-04-01Fix SRVSVC ShareInfo level 502 server side handling.Günther Deschner1-4/+2
Guenther (This used to be commit 776facabf6f09f643d6dc526aa83f8db517465f9)
2008-04-01Fix SRVSVC ShareInfo max_users handling server side.Günther Deschner1-2/+2
Guenther (This used to be commit b4d944e724f7ae2a97ba788b185aba7b7308b475)
2008-03-31Re-add support for the samr parameters string.Günther Deschner1-5/+5
(dialin settings, terminal server settings, etc.) Guenther (This used to be commit c4f248df8e34c6a028bf8d789fe9763b0ea063fe)
2008-03-27Fix samlogon rpc client & server.Günther Deschner1-6/+6
Guenther (This used to be commit 0aaf975560dce3b4e58ab71687c3412c0c2a72cf)
2008-03-27Fix typo.Günther Deschner1-2/+0
Guenther (This used to be commit ffe77dc8b0476b7a5d81d63c3cf67f81033df12e)
2008-03-20Move svc_status_string() out of rpc_client/cli_svcctl.cGünther Deschner1-36/+0
Guenther (This used to be commit 2860ae2eb2cb99b4febb352f516b3fa9fbd2abbb)
2008-03-17Coverity fixesMarc VanHeyningen2-14/+14
(This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
2008-03-12Use existing srv_name_slash.Günther Deschner2-23/+4
Guenther (This used to be commit 5f2b3145fcaeee58f285b6527e9fac09c5337e8a)
2008-03-11Add some last init_srvsvc_X functions.Günther Deschner1-0/+60
Guenther (This used to be commit 41dc55f1de8590b1bb5572e4adbf9bf960c12a64)
2008-03-10Remove rpccli_srvsvc_net_file_enum() and cli_srvsvc.c with it.Günther Deschner1-112/+0
Guenther (This used to be commit e4b52133d6109ae6cc0378285e2d46f7077812f1)