The Samba-Bugzilla – Attachment 8449 Details for
Bug 9474
Windows 8 clients fail to locate print drivers.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch without limiting change to x64 platform
patch-source3_rpc_server_spoolss_srv_spoolss_nt.c (text/plain), 994 bytes, created by
Mike Bowie
on 2013-01-18 21:49:47 UTC
(
hide
)
Description:
Patch without limiting change to x64 platform
Filename:
MIME Type:
Creator:
Mike Bowie
Created:
2013-01-18 21:49:47 UTC
Size:
994 bytes
patch
obsolete
>$NetBSD$ > >--- ../source3/rpc_server/spoolss/srv_spoolss_nt.c.orig 2013-01-18 19:20:23.000000000 +0000 >+++ ../source3/rpc_server/spoolss/srv_spoolss_nt.c >@@ -5607,6 +5607,7 @@ WERROR _spoolss_GetPrinterDriver2(struct > { > struct printer_handle *printer; > WERROR result; >+ uint32 version; > > int snum; > >@@ -5631,13 +5632,19 @@ WERROR _spoolss_GetPrinterDriver2(struct > return WERR_BADFID; > } > >+ version = r->in.client_major_version; >+ if ((strequal(r->in.architecture, SPOOLSS_ARCHITECTURE_x64)) && >+ (r->in.client_major_version == SPOOLSS_DRIVER_VERSION_2012)) { >+ version = SPOOLSS_DRIVER_VERSION_200X; >+ } >+ > result = construct_printer_driver_info_level(p->mem_ctx, > get_session_info_system(), > p->msg_ctx, > r->in.level, r->out.info, > snum, printer->servername, > r->in.architecture, >- r->in.client_major_version); >+ version); > if (!W_ERROR_IS_OK(result)) { > TALLOC_FREE(r->out.info); > return result;
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
Actions:
View
Attachments on
bug 9474
:
8296
|
8297
|
8298
|
8340
| 8449 |
8465
|
8466
|
10123
|
10124