mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
s3-spoolss: a default printer should have at least a "PrintDriverData" key.
Guenther
This commit is contained in:
parent
1bc83b984d
commit
a367b2b5df
@ -3833,6 +3833,13 @@ static WERROR get_a_printer_2_default(NT_PRINTER_INFO_LEVEL_2 *info,
|
||||
goto fail;
|
||||
}
|
||||
|
||||
info->data = TALLOC_ZERO_P(info, NT_PRINTER_DATA);
|
||||
if (!info->data) {
|
||||
goto fail;
|
||||
}
|
||||
|
||||
add_new_printer_key(info->data, SPOOL_PRINTERDATA_KEY);
|
||||
|
||||
return WERR_OK;
|
||||
|
||||
fail:
|
||||
|
Loading…
x
Reference in New Issue
Block a user