1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-04 08:23:50 +03:00

Give a better error message why NetServerSetInfo() may fail in the gui.

Guenther
This commit is contained in:
Günther Deschner
2008-03-05 15:21:43 +01:00
parent e261338084
commit 1bbbebb776
2 changed files with 4 additions and 1 deletions

View File

@@ -185,6 +185,9 @@ static WERROR NetServerSetInfoLocal_1005(struct libnetapi_ctx *ctx,
}
if (!lp_config_backend_is_registry()) {
libnetapi_set_error_string(ctx,
"Configuration manipulation requested but not "
"supported by backend");
return WERR_NOT_SUPPORTED;
}