From 320fadd8fc600262d26ea417a92d395aeb16ef57 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 11 May 2008 01:03:45 +0200 Subject: 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) --- source3/include/proto.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 719eacb42e..afce9ae63b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -10237,11 +10237,14 @@ void reply_sesssetup_and_X(struct smb_request *req); /* The following definitions come from smbd/share_access.c */ bool token_contains_name_in_list(const char *username, + const char *domain, const char *sharename, const struct nt_user_token *token, const char **list); -bool user_ok_token(const char *username, struct nt_user_token *token, int snum); +bool user_ok_token(const char *username, const char *domain, + struct nt_user_token *token, int snum); bool is_share_read_only_for_token(const char *username, + const char *domain, struct nt_user_token *token, int snum); /* The following definitions come from smbd/srvstr.c */ -- cgit