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 | 31afaeeb81c7cedff904c1f0861b27193cc015bd (patch) | |
tree | f36933506202e28a598398367657a6ee46d58407 /source3/rpcclient | |
parent | d5a03878ef952722eaf58f16273a239398252186 (diff) | |
download | samba-31afaeeb81c7cedff904c1f0861b27193cc015bd.tar.gz samba-31afaeeb81c7cedff904c1f0861b27193cc015bd.tar.xz samba-31afaeeb81c7cedff904c1f0861b27193cc015bd.zip |
r3627: Allow to add dummy-form in rpcclient.
Guenther
(This used to be commit 11622805fb946b7b022d06ec4a85db2bfbf71f12)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index a9882d799f..4f936c3d2c 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/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)) |