From ddbda92f87aeedb1a1a976a43a1e5ada3897646e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 11 Feb 2010 12:54:57 +0100 Subject: spoolss: disable GetPrinterDriver level 101 (as called by XP). We still dont get the marshalling right, disable and XP will just fall back to level 6. Guenther --- source3/rpc_server/srv_spoolss_nt.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 5f431c65bc..34daf40d8f 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -4842,6 +4842,8 @@ static WERROR fill_printer_driver_info8(TALLOC_CTX *mem_ctx, return WERR_OK; } + +#if 0 /* disabled until marshalling issues are resolved - gd */ /******************************************************************** ********************************************************************/ @@ -4960,7 +4962,7 @@ static WERROR spoolss_DriverFileInfo_from_driver(TALLOC_CTX *mem_ctx, } /******************************************************************** - * fill a spoolss_DriverInfo101 sttruct + * fill a spoolss_DriverInfo101 struct ********************************************************************/ static WERROR fill_printer_driver_info101(TALLOC_CTX *mem_ctx, @@ -5015,7 +5017,7 @@ static WERROR fill_printer_driver_info101(TALLOC_CTX *mem_ctx, return WERR_OK; } - +#endif /******************************************************************** ********************************************************************/ @@ -5090,9 +5092,11 @@ static WERROR construct_printer_driver_info_level(TALLOC_CTX *mem_ctx, case 8: result = fill_printer_driver_info8(mem_ctx, &r->info8, driver, servername); break; +#if 0 /* disabled until marshalling issues are resolved - gd */ case 101: result = fill_printer_driver_info101(mem_ctx, &r->info101, driver, servername); break; +#endif default: result = WERR_UNKNOWN_LEVEL; break; -- cgit