mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3-printing: Fix "printer admin" functionality.
Fix bug #7255 ("printer admin" parameter does not work as expected).
This commit is contained in:
parent
55c45110e6
commit
0d6d068bc4
@ -5720,7 +5720,7 @@ bool print_access_check(struct auth_serversupplied_info *server_info, int snum,
|
||||
|
||||
/* see if we need to try the printer admin list */
|
||||
|
||||
if ((access_granted == 0) &&
|
||||
if (!NT_STATUS_IS_OK(status) &&
|
||||
(token_contains_name_in_list(uidtoname(server_info->utok.uid),
|
||||
NULL, NULL, server_info->ptok,
|
||||
lp_printer_admin(snum)))) {
|
||||
|
Loading…
Reference in New Issue
Block a user