From 7ff184334d721e71a4f8e34c3d8346403a57dce5 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 31 Jan 2005 16:32:14 +0000 Subject: r5140: (a) fix problem with enumerating domain trusts in security = ads; (b) fix a segfault in rpcclient's dsenumdomtrusts (This used to be commit 558525abf14432bd5527e5578ce18d128627dabb) --- source3/rpc_client/cli_ds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_client/cli_ds.c') diff --git a/source3/rpc_client/cli_ds.c b/source3/rpc_client/cli_ds.c index 7719f97034..40a32c7ee0 100644 --- a/source3/rpc_client/cli_ds.c +++ b/source3/rpc_client/cli_ds.c @@ -110,7 +110,7 @@ NTSTATUS cli_ds_enum_domain_trusts(struct cli_state *cli, TALLOC_CTX *mem_ctx, init_q_ds_enum_domain_trusts( &q, server, flags ); if (!ds_io_q_enum_domain_trusts("", &qbuf, 0, &q) - || !rpc_api_pipe_req(cli, PI_LSARPC_DS, DS_ENUM_DOM_TRUSTS, &qbuf, &rbuf)) { + || !rpc_api_pipe_req(cli, PI_NETLOGON, DS_ENUM_DOM_TRUSTS, &qbuf, &rbuf)) { result = NT_STATUS_UNSUCCESSFUL; goto done; } -- cgit