summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_spoolss.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/cmd_spoolss.c')
-rw-r--r--source3/rpcclient/cmd_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 6beec447de..152ec8aa37 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/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;
}