summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-03-05 05:14:19 +0000
committerTim Potter <tpot@samba.org>2003-03-05 05:14:19 +0000
commit4c8091ef9cfa6b196355b007d6f280c90a15bae7 (patch)
tree7e31aa4cbc9a68a8434f7a8e68c87cc859ff4169 /source3
parent7a9987481e70676918488b05e5dda44754e825e1 (diff)
downloadsamba-4c8091ef9cfa6b196355b007d6f280c90a15bae7.tar.gz
samba-4c8091ef9cfa6b196355b007d6f280c90a15bae7.tar.bz2
samba-4c8091ef9cfa6b196355b007d6f280c90a15bae7.zip
Use PRINTER_ALL_ACCESS instead of MAXIMUM_ALLOWED_ACCESS in setprinter
command. From Ronan Waide <waider@waider.ie>. (This used to be commit 992b5eb4e05fbf99d91d7235b9a002957533f95b)
Diffstat (limited to 'source3')
-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 9f6f539e19..9686fd1e24 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -1362,7 +1362,7 @@ static NTSTATUS cmd_spoolss_setdriver(struct cli_state *cli,
/* Get a printer handle */
result = cli_spoolss_open_printer_ex(cli, mem_ctx, printername, "",
- MAXIMUM_ALLOWED_ACCESS,
+ PRINTER_ALL_ACCESS,
servername, user, &pol);
if (!W_ERROR_IS_OK(result))