s3:lib/netapi: do not use rpc_pipe_np_smb_conn()
authorGregor Beck <gbeck@sernet.de>
Fri, 13 Sep 2013 09:12:25 +0000 (11:12 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 Oct 2013 19:48:48 +0000 (08:48 +1300)
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/lib/netapi/cm.c

index bb5d6b234a52d949b3fe4cb5cbbc3741c15e2232..dbb6b6f02d181f6e9499c0d1341d695ea0de8462 100644 (file)
@@ -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;
                }