1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-02 08:58:33 +03:00

s3-spoolss: Use the spoolss_map_to_os2_driver to modify drivername.

Signed-off-by: Günther Deschner <gd@samba.org>
This commit is contained in:
Andreas Schneider 2010-04-28 17:04:10 +02:00 committed by Günther Deschner
parent 7d363b8922
commit 4108728b7e

View File

@ -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);
}