summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/rpcclient/cmd_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpcclient/cmd_spoolss.c b/source/rpcclient/cmd_spoolss.c
index 6beec447dee..152ec8aa37d 100644
--- a/source/rpcclient/cmd_spoolss.c
+++ b/source/rpcclient/cmd_spoolss.c
@@ -399,7 +399,7 @@ static uint32 cmd_spoolss_getprinter(int argc, char **argv)
}
if ((result = cli_spoolss_open_printer_ex(
- &cli, argv[1], "", PRINTER_ALL_ACCESS, global_myname,
+ &cli, argv[1], "", MAXIMUM_ALLOWED_ACCESS, global_myname,
username, &pol)) != NT_STATUS_NOPROBLEMO) {
goto done;
}