diff --git a/source3/lib/netapi/cm.c b/source3/lib/netapi/cm.c index bb5d6b234a5..dbb6b6f02d1 100644 --- a/source3/lib/netapi/cm.c +++ b/source3/lib/netapi/cm.c @@ -169,7 +169,7 @@ static NTSTATUS pipe_cm_find(struct client_ipc_connection *ipc, for (p = ipc->pipe_connections; p; p = p->next) { const char *ipc_remote_name; - if (!rpc_pipe_np_smb_conn(p->pipe)) { + if (!rpccli_is_connected(p->pipe)) { return NT_STATUS_PIPE_EMPTY; }