1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

Moved printer ACE mask values from nt_printing.h to rpc_spoolss.h

(This used to be commit 9245af1ea1)
This commit is contained in:
Tim Potter 2000-07-06 07:00:24 +00:00
parent f1ccd14b42
commit 34abda02dd
2 changed files with 6 additions and 9 deletions

View File

@ -133,13 +133,6 @@
#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;

View File

@ -144,6 +144,12 @@
#define PRINTER_STATUS_POWER_SAVE 0x01000000
/* 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)
#define SERVER_ACCESS_ADMINISTER 0x00000001
#define SERVER_ACCESS_ENUMERATE 0x00000002
@ -151,8 +157,6 @@
#define PRINTER_ACCESS_USE 0x00000008
#define JOB_ACCESS_ADMINISTER 0x00000010
#define PRINTER_MANAGE_DOCUMENTS 0x10000000 /* i think dis right ... */
#define STANDARD_RIGHTS_READ 0x00020000
#define STANDARD_RIGHTS_WRITE STANDARD_RIGHTS_READ
#define STANDARD_RIGHTS_EXECUTE STANDARD_RIGHTS_READ