1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

Nicen error output in net_ads_leave.

Guenther
(This used to be commit b0d1db95e5)
This commit is contained in:
Günther Deschner 2008-02-28 14:08:32 +01:00
parent 11b81cb8e4
commit 4d55efe4ab

View File

@ -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;
}