summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-11 01:03:45 +0200
committerVolker Lendecke <vl@samba.org>2008-05-25 11:43:57 +0200
commit320fadd8fc600262d26ea417a92d395aeb16ef57 (patch)
tree00190ae813735002e8ec9140014b6bd5693169a7 /source3/printing
parentf4d8141174cf75984978e80b6a040b98423089f6 (diff)
downloadsamba-320fadd8fc600262d26ea417a92d395aeb16ef57.tar.gz
samba-320fadd8fc600262d26ea417a92d395aeb16ef57.tar.bz2
samba-320fadd8fc600262d26ea417a92d395aeb16ef57.zip
Remove the reference to current_user_info from share_access.c
This required to pass around the domain a bit (This used to be commit 17b0db20d28d1b737c5e86b78106657e8ca5ce9c)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 3a7f1174bd..c13ab5a180 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -5835,7 +5835,7 @@ bool print_access_check(struct current_user *user, int snum, int access_type)
/* see if we need to try the printer admin list */
if ((access_granted == 0) &&
- (token_contains_name_in_list(uidtoname(user->ut.uid), NULL,
+ (token_contains_name_in_list(uidtoname(user->ut.uid), NULL, NULL,
user->nt_user_token,
lp_printer_admin(snum)))) {
talloc_destroy(mem_ctx);