mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r6992: syncing printer permissions changes from trunk
This commit is contained in:
parent
619d0aeebb
commit
a2eb138c21
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user