summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-12-21 09:35:31 -0800
committerAndrew Bartlett <abartlet@samba.org>2013-01-09 15:28:50 +1100
commitf7464bbf72dac41a65334c27403db8da7e08f7d3 (patch)
tree8f45bb4865992f08e3042dba676cca1f8a8e95a7 /source3
parent4983d5838afcab8c675cace0723a3fc284667bec (diff)
downloadsamba-f7464bbf72dac41a65334c27403db8da7e08f7d3.tar.gz
samba-f7464bbf72dac41a65334c27403db8da7e08f7d3.tar.bz2
samba-f7464bbf72dac41a65334c27403db8da7e08f7d3.zip
Remove static from create_share_access_mask().
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')
-rw-r--r--source3/smbd/proto.h1
-rw-r--r--source3/smbd/service.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index d7bfa6567b..5eb899ffb5 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -979,6 +979,7 @@ 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);
+void create_share_access_mask(connection_struct *conn, int snum);
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);
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 2214ac0a2d..828c036360 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -515,7 +515,7 @@ NTSTATUS set_conn_force_user_group(connection_struct *conn, int snum)
Setup the share access mask for a connection.
****************************************************************************/
-static void create_share_access_mask(connection_struct *conn, int snum)
+void create_share_access_mask(connection_struct *conn, int snum)
{
const struct security_token *token = conn->session_info->security_token;