[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Sun Jan 23 12:52:01 UTC 2022


The branch, master has been updated
       via  809f4fe2c78 s4:librpc: raise log level for failed connection attempts
      from  fa5413b63c8 s3:libnet: Do not set ADS_AUTH_ALLOW_NTLMSSP in FIPS mode

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 809f4fe2c7862f25547cbdcf01160537e43e3f95
Author: Björn Jacke <bj at sernet.de>
Date:   Sun Jan 23 12:35:22 2022 +0100

    s4:librpc: raise log level for failed connection attempts
    
    this keeps the log files silent when other DCs are currently not running. We
    saw frequent NT_STATUS_HOST_UNREACHABLE messages at log level 0 for now.
    
    https://bugzilla.samba.org/show_bug.cgi?id=11537
    
    Signed-off-by: Bjoern Jacke <bjacke at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Sun Jan 23 12:51:44 UTC 2022 on sn-devel-184

-----------------------------------------------------------------------

Summary of changes:
 source4/librpc/rpc/dcerpc_sock.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/librpc/rpc/dcerpc_sock.c b/source4/librpc/rpc/dcerpc_sock.c
index e7ecca73e3c..ec5a5ca8f8e 100644
--- a/source4/librpc/rpc/dcerpc_sock.c
+++ b/source4/librpc/rpc/dcerpc_sock.c
@@ -58,9 +58,9 @@ static void continue_socket_connect(struct composite_context *ctx)
 
 	c->status = socket_connect_recv(ctx);
 	if (!NT_STATUS_IS_OK(c->status)) {
-		DEBUG(0, ("Failed to connect host %s on port %d - %s\n", 
+		DBG_NOTICE("Failed to connect host %s on port %d - %s\n",
 			  s->server->addr, s->server->port,
-			  nt_errstr(c->status)));
+			  nt_errstr(c->status));
 		composite_error(c, c->status);
 		return;
 	}
@@ -240,9 +240,9 @@ static void continue_ip_open_socket(struct composite_context *ctx)
 	c->status = dcerpc_pipe_open_socket_recv(ctx, s, &localaddr);
 	if (!NT_STATUS_IS_OK(c->status)) {
 		/* something went wrong... */
-		DEBUG(0, ("Failed to connect host %s (%s) on port %d - %s.\n",
+		DBG_NOTICE("Failed to connect host %s (%s) on port %d - %s.\n",
 			  s->addresses[s->index - 1], s->target_hostname,
-			  s->port, nt_errstr(c->status)));
+			  s->port, nt_errstr(c->status));
 		if (s->addresses[s->index]) {
 			struct composite_context *sock_ip_req;
 			talloc_free(s->srvaddr);


-- 
Samba Shared Repository



More information about the samba-cvs mailing list