Fixed open handle code in printers - 3 functions were always being done
[ira/wip.git] / source3 / include / nt_printing.h
index fbeab7873ca6cbf758efea09d9410b14e64c4fdf..58a4dec3a0681a98a20fa3c2ffe513cf1b1ea793 100644 (file)
 #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;
@@ -246,6 +239,7 @@ typedef struct nt_printer_info_level_2
        fstring sharename;
        fstring portname;
        fstring drivername;
+       fstring comment;
        fstring location;
        NT_DEVICEMODE *devmode;
        fstring sepfile;