summaryrefslogtreecommitdiffstats
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-07 18:18:35 +0100
committerGünther Deschner <gd@samba.org>2008-03-07 18:31:13 +0100
commit5259a7a808324e7896943d22723b65bb57cfdf60 (patch)
tree2868196aceccea8fcf7002e2623812f16f63876f /source3/utils
parent9e83c9159ed41954de87dad9f3ce30c1064ddf4e (diff)
downloadsamba-5259a7a808324e7896943d22723b65bb57cfdf60.tar.gz
samba-5259a7a808324e7896943d22723b65bb57cfdf60.tar.xz
samba-5259a7a808324e7896943d22723b65bb57cfdf60.zip
Enable libnetjoin debugging for now but avoid printing passwords.
The gen_ndr needs proper fixing still. Guenther (This used to be commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 46e0a2591bb..e9750db83a1 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -829,7 +829,7 @@ static int net_ads_leave(int argc, const char **argv)
return -1;
}
- r->in.debug = opt_verbose;
+ r->in.debug = true;
r->in.dc_name = opt_host;
r->in.domain_name = lp_realm();
r->in.admin_account = opt_user_name;
@@ -1178,7 +1178,7 @@ int net_ads_join(int argc, const char **argv)
r->in.dc_name = opt_host;
r->in.admin_account = opt_user_name;
r->in.admin_password = net_prompt_pass(opt_user_name);
- r->in.debug = opt_verbose;
+ r->in.debug = true;
r->in.join_flags = WKSSVC_JOIN_FLAGS_JOIN_TYPE |
WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE |
WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED;