From 206273f5fe7eaa93f75ff0d3d61cf90c19628be3 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 16 Jun 2000 08:23:30 +0000 Subject: Added some permission constants that are set for NT printer security descriptors. These seem to be made up of the standard and generic access rights rather than object specific access rights. (This used to be commit 07099fd4464eca2b5f061ef25309f41b8ab5e00b) --- source3/include/nt_printing.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/include/nt_printing.h') diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 9282367885b..d0b02dbeee4 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -133,6 +133,13 @@ #define COLLATE_FALSE 0 #define COLLATE_TRUE 1 +/* Printer permissions ACE settings */ + +#define PRINTER_ACE_FULL_CONTROL GENERIC_ALL_ACCESS +#define PRINTER_ACE_MANAGE_DOCUMENTS READ_CONTROL_ACCESS +#define PRINTER_ACE_PRINT \ + GENERIC_READ_ACCESS | GENERIC_WRITE_ACCESS | GENERIC_EXECUTE_ACCESS + typedef struct nt_printer_driver_info_level_3 { uint32 cversion; -- cgit v1.2.1