1
0
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:
Jeremy Allison 2010-03-18 11:21:15 +01:00 committed by Karolin Seeger
parent 55c45110e6
commit 0d6d068bc4

View File

@ -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)))) {