summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-01-12 02:58:29 +0000
committerTim Potter <tpot@samba.org>2001-01-12 02:58:29 +0000
commit78b2616049f19f7dad7c259bf04b0fb8645de218 (patch)
tree7fba37afa3f37c6bb091e1c89463d83a340f4330
parentda08b5374eaeeec6269fff0e22cec16c1b774b61 (diff)
downloadsamba-78b2616049f19f7dad7c259bf04b0fb8645de218.tar.gz
samba-78b2616049f19f7dad7c259bf04b0fb8645de218.tar.bz2
samba-78b2616049f19f7dad7c259bf04b0fb8645de218.zip
Use MAXIMUM_ALLOWED_ACCESS when doing a cli_spoolss_open_printer_ex()
(This used to be commit 42674cc616dccbef090254a2c4a3ab0b4360e547)
-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;
}