[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-test-2616-gb0d1db9
Günther Deschner
gd at samba.org
Thu Feb 28 13:12:58 GMT 2008
The branch, v3-2-test has been updated
via b0d1db95e5d7590f9c67be7bf5cb78adfee16635 (commit)
from 74767be627d48eb1a8deea3784847159b536a0fb (commit)
http://gitweb.samba.org/?samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit b0d1db95e5d7590f9c67be7bf5cb78adfee16635
Author: Günther Deschner <gd at samba.org>
Date: Thu Feb 28 14:08:32 2008 +0100
Nicen error output in net_ads_leave.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source/utils/net_ads.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/utils/net_ads.c b/source/utils/net_ads.c
index daddbfa..c69b816 100644
--- a/source/utils/net_ads.c
+++ b/source/utils/net_ads.c
@@ -839,8 +839,9 @@ static int net_ads_leave(int argc, const char **argv)
werr = libnet_Unjoin(ctx, r);
if (!W_ERROR_IS_OK(werr)) {
- d_printf("%s: %s\n", get_friendly_werror_msg(werr),
- r->out.error_string ? r->out.error_string : "");
+ d_printf("Failed to leave domain: %s\n",
+ r->out.error_string ? r->out.error_string :
+ get_friendly_werror_msg(werr));
goto done;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list