From: Volker Lendecke Date: Mon, 15 Mar 2021 16:27:21 +0000 (+0100) Subject: mdfind: Use cli_rpc_pipe_open_noauth() in mdfind util X-Git-Tag: tevent-0.11.0~1446 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2c6bd3c6ab2e59e33a3703948ae31648212090fe;p=thirdparty%2Fsamba.git mdfind: Use cli_rpc_pipe_open_noauth() in mdfind util For the better or worse, we have a wrapper for NCACN_NP Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/utils/mdfind.c b/source3/utils/mdfind.c index cecbea4f107..aed7edc2930 100644 --- a/source3/utils/mdfind.c +++ b/source3/utils/mdfind.c @@ -159,10 +159,7 @@ int main(int argc, char **argv) goto fail; } - status = cli_rpc_pipe_open_noauth_transport(cli, - NCACN_NP, - &ndr_table_mdssvc, - &rpccli); + status = cli_rpc_pipe_open_noauth(cli, &ndr_table_mdssvc, &rpccli); if (!NT_STATUS_IS_OK(status)) { goto fail; }