summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-12 11:23:24 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-12 11:23:24 +0000
commit497470214d1e251a9a74d791dda22825ced64a4d (patch)
tree724a4f2ad75f589e651f9a58f3d19e2058a73ed7 /source3
parent7ceed4213aeecfb4d9308575180fbddec619f98d (diff)
downloadsamba-497470214d1e251a9a74d791dda22825ced64a4d.tar.gz
samba-497470214d1e251a9a74d791dda22825ced64a4d.tar.bz2
samba-497470214d1e251a9a74d791dda22825ced64a4d.zip
merge desired_access for open_printer_ex from HEAD, allowing cupsaddsmb to
work again! Andrew Bartlett (This used to be commit 94976a4128ea93606e2719fd06019a1e7eddf61c)
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 0788673801..0ec94c9979 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -112,7 +112,7 @@ static NTSTATUS cmd_spoolss_open_printer_ex(struct cli_state *cli,
/* Open the printer handle */
werror = cli_spoolss_open_printer_ex(cli, mem_ctx, printername,
- "", MAXIMUM_ALLOWED_ACCESS,
+ "", PRINTER_ALL_ACCESS,
servername, user, &hnd);
if (W_ERROR_IS_OK(werror)) {