mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3-registry: fix fill_in_printer_values() for datatype and printprocessor.
It is wise and good to enforce RAW and winprint, but we need to be consistent with spoolss (and enforce it there). Found by torture test. Guenther
This commit is contained in:
parent
1c4c4dd7e0
commit
84f3eeeca3
@ -414,8 +414,8 @@ static void fill_in_printer_values(NT_PRINTER_INFO_LEVEL_2 *info2, struct regval
|
||||
regval_ctr_addvalue_sz(values, "Share Name", info2->sharename);
|
||||
regval_ctr_addvalue_sz(values, "Printer Driver", info2->drivername);
|
||||
regval_ctr_addvalue_sz(values, "Separator File", info2->sepfile);
|
||||
regval_ctr_addvalue_sz(values, "Print Processor", "WinPrint");
|
||||
regval_ctr_addvalue_sz(values, "Datatype", "RAW");
|
||||
regval_ctr_addvalue_sz(values, "Print Processor", info2->printprocessor);
|
||||
regval_ctr_addvalue_sz(values, "Datatype", info2->datatype);
|
||||
|
||||
/* stream the device mode */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user