From 11622805fb946b7b022d06ec4a85db2bfbf71f12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Mon, 8 Nov 2004 23:29:40 +0000 Subject: [PATCH] r3627: Allow to add dummy-form in rpcclient. Guenther --- source/rpcclient/cmd_spoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rpcclient/cmd_spoolss.c b/source/rpcclient/cmd_spoolss.c index a9882d799f8..4f936c3d2c7 100644 --- a/source/rpcclient/cmd_spoolss.c +++ b/source/rpcclient/cmd_spoolss.c @@ -1654,7 +1654,7 @@ static WERROR cmd_spoolss_addform(struct cli_state *cli, TALLOC_CTX *mem_ctx, asprintf(&printername, "%s\\%s", servername, argv[1]); werror = cli_spoolss_open_printer_ex(cli, mem_ctx, printername, "", - MAXIMUM_ALLOWED_ACCESS, + PRINTER_ALL_ACCESS, servername, cli->user_name, &handle); if (!W_ERROR_IS_OK(werror)) -- 2.47.3