From 749d90dfc79b3431f8fa44b7fe970dbdee783a31 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 12 Feb 2003 11:17:35 +0000 Subject: Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmb back working again. Andrew Bartlett (This used to be commit 512e65a6a6ac5ee97edf1868007db20bb144857f) --- source3/rpcclient/cmd_spoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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