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:
parent
7d363b8922
commit
4108728b7e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user