summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/nt_printing.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 26320c24fa..907c3fd8e6 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -44,6 +44,7 @@ static TDB_CONTEXT *tdb_printers; /* used for printers files */
GENERIC_MAPPING printer_generic_mapping = {
PRINTER_READ,
+ PRINTER_WRITE,
PRINTER_EXECUTE,
PRINTER_ALL_ACCESS
};
@@ -3099,8 +3100,6 @@ static WERROR save_driver_init_2(NT_PRINTER_INFO_LEVEL *printer, NT_PRINTER_PARA
goto done;
}
- memset(nt_devmode, 0x0, sizeof(NT_DEVICEMODE));
-
ZERO_STRUCTP(nt_devmode);
/*