summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
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/include/proto.h
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/include/proto.h')
-rw-r--r--source3/include/proto.h5
1 files changed, 4 insertions, 1 deletions
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 */