diff options
author | Günther Deschner <gd@samba.org> | 2010-02-11 12:54:57 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-02-15 11:17:29 +0100 |
commit | ddbda92f87aeedb1a1a976a43a1e5ada3897646e (patch) | |
tree | 42e0b0933fbbd87a887ba0828651057b32dc7c46 /source3 | |
parent | 72f250ac16df43ae8d5a7bd294fc82c477f3e2da (diff) | |
download | samba-ddbda92f87aeedb1a1a976a43a1e5ada3897646e.tar.gz samba-ddbda92f87aeedb1a1a976a43a1e5ada3897646e.tar.bz2 samba-ddbda92f87aeedb1a1a976a43a1e5ada3897646e.zip |
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
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 8 |
1 files changed, 6 insertions, 2 deletions
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; |