From: Günther Deschner Date: Mon, 8 Nov 2004 23:29:40 +0000 (+0000) Subject: r3627: Allow to add dummy-form in rpcclient. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5631 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11622805fb946b7b022d06ec4a85db2bfbf71f12;p=thirdparty%2Fsamba.git r3627: Allow to add dummy-form in rpcclient. Guenther --- 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))