s3:libnet: Fix debug message in libnet_DomainJoin()
authorGuenther Deschner <gd@samba.org>
Mon, 1 Apr 2019 15:46:39 +0000 (17:46 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 2 Apr 2019 01:12:10 +0000 (01:12 +0000)
A newline is missing but also use DBG_INFO macro and cleanup spelling.

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libnet/libnet_join.c

index 27fc5135442cf47bb36ad7e64bc8e24cc3b6acf9..ddc00f7ad7c82801c5ada52172971ae049713c71 100644 (file)
@@ -2664,8 +2664,8 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx,
                        return WERR_NERR_DEFAULTJOINREQUIRED;
                }
 
-               DEBUG(5, ("failed to precreate account in ou %s: %s",
-                       r->in.account_ou, ads_errstr(ads_status)));
+               DBG_INFO("Failed to pre-create account in OU %s: %s\n",
+                        r->in.account_ou, ads_errstr(ads_status));
        }
  rpc_join: