From 758873b9fb46c0c0059a95c6bdeb23b17f2c80c9 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 22 Dec 2005 06:58:26 +0000 Subject: r12423: Remove DEBUG(0) printouts in favor of more information to the caller. I assume this works better with SWAT and the like anyway. Andrew Bartlett (This used to be commit b11975703d5e32f6f3ad10079106b1345fa56b5c) --- source4/utils/net/net_join.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/utils/net/net_join.c') diff --git a/source4/utils/net/net_join.c b/source4/utils/net/net_join.c index bec82c72d1..8140108ceb 100644 --- a/source4/utils/net/net_join.c +++ b/source4/utils/net/net_join.c @@ -66,7 +66,7 @@ int net_join(struct net_context *ctx, int argc, const char **argv) if (!r) { return -1; } - /* prepare password change */ + /* prepare parameters for the join */ r->in.netbios_name = lp_netbios_name(); r->in.domain_name = domain_name; r->in.secure_channel_type = secure_channel_type; @@ -83,6 +83,8 @@ int net_join(struct net_context *ctx, int argc, const char **argv) talloc_free(libnetctx); return -1; } + d_printf("Joined domain %s (%s)\n", r->out.domain_name, dom_sid_string(ctx->mem_ctx, r->out.domain_sid)); + talloc_free(libnetctx); return 0; } -- cgit