W_ERROR_HAVE_NO_MEMORY(info100);
info100->platform_id = dcesrv_common_get_platform_id(mem_ctx, dce_ctx);
- info100->server = dcesrv_common_get_server_name(mem_ctx, dce_ctx, NULL);
- W_ERROR_HAVE_NO_MEMORY(info100->server);
- info100->domain = dcesrv_common_get_domain_name(mem_ctx, dce_ctx);
- W_ERROR_HAVE_NO_MEMORY(info100->domain);
- info100->ver_major = dcesrv_common_get_version_major(mem_ctx, dce_ctx);
- info100->ver_minor = dcesrv_common_get_version_minor(mem_ctx, dce_ctx);
+ info100->server_name = dcesrv_common_get_server_name(mem_ctx, dce_ctx, NULL);
+ W_ERROR_HAVE_NO_MEMORY(info100->server_name);
+ info100->domain_name = dcesrv_common_get_domain_name(mem_ctx, dce_ctx);
+ W_ERROR_HAVE_NO_MEMORY(info100->domain_name);
+ info100->version_major = dcesrv_common_get_version_major(mem_ctx, dce_ctx);
+ info100->version_minor = dcesrv_common_get_version_minor(mem_ctx, dce_ctx);
r->out.info.info100 = info100;
return WERR_OK;
W_ERROR_HAVE_NO_MEMORY(info101);
info101->platform_id = dcesrv_common_get_platform_id(mem_ctx, dce_ctx);
- info101->server = dcesrv_common_get_server_name(mem_ctx, dce_ctx, NULL);
- W_ERROR_HAVE_NO_MEMORY(info101->server);
- info101->domain = dcesrv_common_get_domain_name(mem_ctx, dce_ctx);
- W_ERROR_HAVE_NO_MEMORY(info101->domain);
- info101->ver_major = dcesrv_common_get_version_major(mem_ctx, dce_ctx);
- info101->ver_minor = dcesrv_common_get_version_minor(mem_ctx, dce_ctx);
+ info101->server_name = dcesrv_common_get_server_name(mem_ctx, dce_ctx, NULL);
+ W_ERROR_HAVE_NO_MEMORY(info101->server_name);
+ info101->domain_name = dcesrv_common_get_domain_name(mem_ctx, dce_ctx);
+ W_ERROR_HAVE_NO_MEMORY(info101->domain_name);
+ info101->version_major = dcesrv_common_get_version_major(mem_ctx, dce_ctx);
+ info101->version_minor = dcesrv_common_get_version_minor(mem_ctx, dce_ctx);
info101->lan_root = dcesrv_common_get_lan_root(mem_ctx, dce_ctx);
r->out.info.info101 = info101;
return WERR_UNKNOWN_LEVEL;
}
- return WERR_OK;
+ return WERR_UNKNOWN_LEVEL;
}