The Samba-Bugzilla – Attachment 5646 Details for
Bug 7378
"net conf import" fails silently on parameter typo
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch for 3.4 with i18n support
3.4.diff (text/plain), 875 bytes, created by
Jim McDonough
on 2010-04-20 16:52:16 UTC
(
hide
)
Description:
Updated patch for 3.4 with i18n support
Filename:
MIME Type:
Creator:
Jim McDonough
Created:
2010-04-20 16:52:16 UTC
Size:
875 bytes
patch
obsolete
>commit fcb735f59976ee62bfd05972affb998dbc9f9b36 >Author: Jim McDonough <jmcd@samba.org> >Date: Tue Apr 20 16:28:47 2010 -0400 > > Display an error on net conf import failures. > > When something goes wrong, such as a typo in a parameter > name, we'll now display the failure instead of just returning > with -1 and no message. > >diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c >index 1dd8c1f..6ba1a6e 100644 >--- a/source3/utils/net_conf.c >+++ b/source3/utils/net_conf.c >@@ -209,6 +209,10 @@ static WERROR import_process_service(struct net_context *c, > service->param_names[idx], > service->param_values[idx]); > if (!W_ERROR_IS_OK(werr)) { >+ d_fprintf(stderr, >+ _("Error in section [%s], parameter \"%s\": %s\n"), >+ service->name, service->param_names[idx], >+ win_errstr(werr)); > goto done; > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
lars
:
review+
Actions:
View
Attachments on
bug 7378
:
5644
|
5645
|
5646
|
5647