git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d363b8
)
s3-spoolss: Use the spoolss_map_to_os2_driver to modify drivername.
author
Andreas Schneider
<asn@samba.org>
Wed, 28 Apr 2010 15:04:10 +0000
(17:04 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 18 May 2010 13:18:30 +0000
(15:18 +0200)
Signed-off-by: Günther Deschner <gd@samba.org>
source3/rpc_server/srv_spoolss_util.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_spoolss_util.c
b/source3/rpc_server/srv_spoolss_util.c
index f7877b33f8e2d16cf0cd5626387a8c8534fc9b4f..b46fc5875990335a77bd637793d9b505d7ce3014 100644
(file)
--- a/
source3/rpc_server/srv_spoolss_util.c
+++ b/
source3/rpc_server/srv_spoolss_util.c
@@
-2180,6
+2180,11
@@
WERROR winreg_get_printer(TALLOC_CTX *mem_ctx,
goto done;
}
+ /* Fix for OS/2 drivers. */
+ if (get_remote_arch() == RA_OS2) {
+ spoolss_map_to_os2_driver(info2, &info2->drivername);
+ }
+
if (pinfo2) {
*pinfo2 = talloc_move(mem_ctx, &info2);
}