From fea03cef2be825037b0c610964ca6e296ed6e33d Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 15 Apr 2002 03:49:53 +0000 Subject: Merge of print server permission handling fixes from HEAD. (This used to be commit 62ee1f8c3fbcf83641bed881143a1a8c70f836ba) --- source3/printing/nt_printing.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source3/printing') diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 907c3fd8e6..29bc185a6d 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -56,6 +56,22 @@ STANDARD_MAPPING printer_std_mapping = { PRINTER_ALL_ACCESS }; +/* Map generic permissions to print server object specific permissions */ + +GENERIC_MAPPING printserver_generic_mapping = { + SERVER_READ, + SERVER_WRITE, + SERVER_EXECUTE, + SERVER_ALL_ACCESS +}; + +STANDARD_MAPPING printserver_std_mapping = { + SERVER_READ, + SERVER_WRITE, + SERVER_EXECUTE, + SERVER_ALL_ACCESS +}; + /* We need one default form to support our default printer. Msoft adds the forms it wants and in the ORDER it wants them (note: DEVMODE papersize is an array index). Letter is always first, so (for the current code) additions -- cgit