From 84f3eeeca312cc9182785bb7c3b0e1c4db8b3480 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 8 Apr 2010 16:20:46 +0200 Subject: 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 --- source3/registry/reg_backend_printing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/registry') diff --git a/source3/registry/reg_backend_printing.c b/source3/registry/reg_backend_printing.c index 278ad4fa46..26227b547e 100644 --- a/source3/registry/reg_backend_printing.c +++ b/source3/registry/reg_backend_printing.c @@ -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 */ -- cgit