summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-26 14:03:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:59 -0500
commitf9ede7984cea492111ba23e3ce4f359542ff13c1 (patch)
treee14a8a3b4b915c937878ef34031cf54401a9f343 /source3
parent8f8ff6870ca7ac08fce778509e85b742c9438011 (diff)
downloadsamba-f9ede7984cea492111ba23e3ce4f359542ff13c1.tar.gz
samba-f9ede7984cea492111ba23e3ce4f359542ff13c1.tar.bz2
samba-f9ede7984cea492111ba23e3ce4f359542ff13c1.zip
r6992: syncing printer permissions changes from trunk
(This used to be commit a2eb138c215f3d6618922918e10412a883db5011)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/include/rpc_spoolss.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/include/rpc_spoolss.h b/source3/include/rpc_spoolss.h
index 6453363508..c49b423283 100755
--- a/source3/include/rpc_spoolss.h
+++ b/source3/include/rpc_spoolss.h
@@ -170,13 +170,6 @@
#define JOB_STATUS_BLOCKED 0x0200
#define JOB_STATUS_USER_INTERVENTION 0x0400
-/* ACE masks for the various print permissions */
-
-#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)
-
/* Access rights for print servers */
#define SERVER_ALL_ACCESS STANDARD_RIGHTS_REQUIRED_ACCESS|SERVER_ACCESS_ADMINISTER|SERVER_ACCESS_ENUMERATE
#define SERVER_READ STANDARD_RIGHTS_READ_ACCESS|SERVER_ACCESS_ENUMERATE
@@ -195,6 +188,13 @@
#define JOB_WRITE STANDARD_RIGHTS_WRITE_ACCESS|JOB_ACCESS_ADMINISTER
#define JOB_EXECUTE STANDARD_RIGHTS_EXECUTE_ACCESS|JOB_ACCESS_ADMINISTER
+/* ACE masks for the various print permissions */
+
+#define PRINTER_ACE_FULL_CONTROL (GENERIC_ALL_ACCESS|PRINTER_ALL_ACCESS)
+#define PRINTER_ACE_MANAGE_DOCUMENTS READ_CONTROL_ACCESS
+#define PRINTER_ACE_PRINT (READ_CONTROL_ACCESS|PRINTER_ACCESS_USE)
+
+
/* Notify field types */
#define NOTIFY_ONE_VALUE 1 /* Notify data is stored in value1 */