From 497470214d1e251a9a74d791dda22825ced64a4d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 12 Feb 2003 11:23:24 +0000 Subject: merge desired_access for open_printer_ex from HEAD, allowing cupsaddsmb to work again! Andrew Bartlett (This used to be commit 94976a4128ea93606e2719fd06019a1e7eddf61c) --- source3/rpcclient/cmd_spoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpcclient') 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)) { -- cgit