diff options
author | Andreas Schneider <asn@samba.org> | 2019-08-14 10:15:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-10-16 12:15:54 +0000 |
commit | 9d984cebde3516a42173b77664c5d79b96ad3bbc (patch) | |
tree | 6c61ec81ac1a511a5cf3ce24670a48020bb0984a | |
parent | 1e38443496098a94f405d2a8c346428d0c378bbd (diff) | |
download | samba-9d984cebde3516a42173b77664c5d79b96ad3bbc.tar.gz |
s3:libnet: Improve debug messages
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit 39b8c8b30a5d5bd70f8da3a02cf77f7592788b94)
-rw-r--r-- | source3/libnet/libnet_join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index d5c8599beee..31d1d221ed3 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; } |