1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

Use MAXIMUM_ALLOWED_ACCESS when doing a cli_spoolss_open_printer_ex()

This commit is contained in:
Tim Potter -
parent 5358f8abc1
commit 42674cc616

View File

@ -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;
}