diff options
author | Tim Potter <tpot@samba.org> | 2001-01-12 02:58:29 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-01-12 02:58:29 +0000 |
commit | 42674cc616dccbef090254a2c4a3ab0b4360e547 (patch) | |
tree | 8e600a64caf18149a454566a4e5c9d343b8eb7ae | |
parent | 5358f8abc1e1dea591446e926c00821fadfe0d84 (diff) | |
download | samba-42674cc616dccbef090254a2c4a3ab0b4360e547.tar.gz samba-42674cc616dccbef090254a2c4a3ab0b4360e547.tar.xz samba-42674cc616dccbef090254a2c4a3ab0b4360e547.zip |
Use MAXIMUM_ALLOWED_ACCESS when doing a cli_spoolss_open_printer_ex()
-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 6beec447dee..152ec8aa37d 100644 --- a/source/rpcclient/cmd_spoolss.c +++ b/source/rpcclient/cmd_spoolss.c @@ -399,7 +399,7 @@ static uint32 cmd_spoolss_getprinter(int argc, char **argv) } if ((result = cli_spoolss_open_printer_ex( - &cli, argv[1], "", PRINTER_ALL_ACCESS, global_myname, + &cli, argv[1], "", MAXIMUM_ALLOWED_ACCESS, global_myname, username, &pol)) != NT_STATUS_NOPROBLEMO) { goto done; } |