summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-06-16 08:23:30 +0000
committerTim Potter <tpot@samba.org>2000-06-16 08:23:30 +0000
commit206273f5fe7eaa93f75ff0d3d61cf90c19628be3 (patch)
treee808372ecf61c8580a7e4f0ca9d6175d90693650 /source3
parentccc32898cf56baf93581b3773cb1d82ce0e59b8d (diff)
downloadsamba-206273f5fe7eaa93f75ff0d3d61cf90c19628be3.tar.gz
samba-206273f5fe7eaa93f75ff0d3d61cf90c19628be3.tar.bz2
samba-206273f5fe7eaa93f75ff0d3d61cf90c19628be3.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/nt_printing.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h
index 9282367885..d0b02dbeee 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;