mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
printing: Avoid an "extern current_user"
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
committed by
Jeremy Allison
parent
e62253a52a
commit
e03e947e0c
@ -19,8 +19,8 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "printing.h"
|
||||
#include "smbd/proto.h"
|
||||
|
||||
extern struct current_user current_user;
|
||||
extern userdom_struct current_user_info;
|
||||
|
||||
/****************************************************************************
|
||||
@ -76,7 +76,7 @@ static int print_run_command(int snum, const char* printername, bool do_sub,
|
||||
lp_servicename(talloc_tos(), snum),
|
||||
current_user_info.unix_name,
|
||||
"",
|
||||
current_user.ut.gid,
|
||||
get_current_gid(NULL),
|
||||
get_current_username(),
|
||||
current_user_info.domain,
|
||||
syscmd);
|
||||
|
Reference in New Issue
Block a user