summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-01-04 11:43:10 -0800
committerAndrew Bartlett <abartlet@samba.org>2013-01-09 15:29:00 +1100
commit926d9307f789e2ca752ee2dab6b6e653dc7de628 (patch)
treec72a4a7bf153a88c7ad8fd7f98f1790651fac500 /source3/smbd/proto.h
parent00de188e1f3e3b795bfdbb0c84305f4767f56349 (diff)
downloadsamba-926d9307f789e2ca752ee2dab6b6e653dc7de628.tar.gz
samba-926d9307f789e2ca752ee2dab6b6e653dc7de628.tar.bz2
samba-926d9307f789e2ca752ee2dab6b6e653dc7de628.zip
Change API for create_share_access_mask() to pass in the token.
Don't automatically use the one from conn->session_info->security_token. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index abc6b289c0..bfaaf6d639 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -979,7 +979,9 @@ void smbd_exit_server_cleanly(const char *const reason) _NORETURN_;
bool set_conn_connectpath(connection_struct *conn, const char *connectpath);
NTSTATUS set_conn_force_user_group(connection_struct *conn, int snum);
-uint32_t create_share_access_mask(connection_struct *conn, int snum);
+uint32_t create_share_access_mask(connection_struct *conn,
+ int snum,
+ const struct security_token *token);
bool set_current_service(connection_struct *conn, uint16 flags, bool do_chdir);
void load_registry_shares(void);
int add_home_service(const char *service, const char *username, const char *homedir);