s3:rpc_client: Bump debug level for ncalrpc connect error
authorVolker Lendecke <vl@samba.org>
Thu, 8 Jul 2021 07:48:07 +0000 (09:48 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 10 Dec 2021 14:02:30 +0000 (14:02 +0000)
This does not have to go to syslog by default always, it might be just
a daemon not listening.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/rpc_client/cli_pipe.c

index 8dca089bbf5252942e67e3a6f55436bdd3dde256..7d8796d134ab7f226820287ada0e34bd663837b7 100644 (file)
@@ -3005,9 +3005,9 @@ NTSTATUS rpc_pipe_open_ncalrpc(TALLOC_CTX *mem_ctx,
        }
 
        if (connect(fd, (struct sockaddr *)(void *)&addr, salen) == -1) {
-               DBG_ERR("connect(%s) failed: %s\n",
-                       addr.sun_path,
-                       strerror(errno));
+               DBG_WARNING("connect(%s) failed: %s\n",
+                           addr.sun_path,
+                           strerror(errno));
                status = map_nt_error_from_unix(errno);
                goto fail;
        }