summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h5
-rw-r--r--source3/smbd/service.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7875c38a8a..961b3e06a4 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6959,6 +6959,11 @@ 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);
int find_service(fstring service);
+connection_struct *make_connection_snum(struct smbd_server_connection *sconn,
+ int snum, user_struct *vuser,
+ DATA_BLOB password,
+ const char *pdev,
+ NTSTATUS *pstatus);
connection_struct *make_connection(struct smbd_server_connection *sconn,
const char *service_in, DATA_BLOB password,
const char *pdev, uint16 vuid,
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 5ade8270d5..508f71b44e 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -636,8 +636,7 @@ static NTSTATUS create_connection_server_info(struct smbd_server_connection *sco
connecting user if appropriate.
****************************************************************************/
-static connection_struct *make_connection_snum(
- struct smbd_server_connection *sconn,
+connection_struct *make_connection_snum(struct smbd_server_connection *sconn,
int snum, user_struct *vuser,
DATA_BLOB password,
const char *pdev,