From: Andreas Schneider Date: Wed, 14 Aug 2019 08:15:19 +0000 (+0200) Subject: s3:libnet: Improve debug messages X-Git-Tag: talloc-2.3.1~454 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39b8c8b30a5d5bd70f8da3a02cf77f7592788b94;p=thirdparty%2Fsamba.git s3:libnet: Improve debug messages Signed-off-by: Andreas Schneider Reviewed-by: Alexander Bokovoy --- diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 0e7775079bb..6017cc7694d 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -356,7 +356,7 @@ static ADS_STATUS libnet_join_precreate_machine_acct(TALLOC_CTX *mem_ctx, r->out.dns_domain_name); if (ADS_ERR_OK(status)) { - DEBUG(1,("machine account creation created\n")); + DBG_WARNING("Machine account successfully created\n"); return status; } else if ((status.error_type == ENUM_ADS_ERROR_LDAP) && (status.err.rc == LDAP_ALREADY_EXISTS)) { @@ -364,7 +364,7 @@ static ADS_STATUS libnet_join_precreate_machine_acct(TALLOC_CTX *mem_ctx, } if (!ADS_ERR_OK(status)) { - DEBUG(1,("machine account creation failed\n")); + DBG_WARNING("Failed to create machine account\n"); return status; }