diff options
author | Günther Deschner <gd@samba.org> | 2004-11-08 23:29:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:10 -0500 |
commit | 11622805fb946b7b022d06ec4a85db2bfbf71f12 (patch) | |
tree | 24724f9094b293eda339462cdf2bda1f90f2b6d4 | |
parent | cb27c197ee44d2be09014598e3928642b59ef956 (diff) | |
download | samba-11622805fb946b7b022d06ec4a85db2bfbf71f12.tar.gz samba-11622805fb946b7b022d06ec4a85db2bfbf71f12.tar.xz samba-11622805fb946b7b022d06ec4a85db2bfbf71f12.zip |
r3627: Allow to add dummy-form in rpcclient.
Guenther
-rw-r--r-- | source/rpcclient/cmd_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |