From: Stefan Metzmacher Date: Wed, 27 May 2009 16:26:15 +0000 (+0200) Subject: s3:smbd: make make_connection_snum() non static X-Git-Tag: tdb-1.1.5~332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a02265cdc4ea359979f89af99f58fb0720d7c464;p=thirdparty%2Fsamba.git s3:smbd: make make_connection_snum() non static metze --- diff --git a/source3/include/proto.h b/source3/include/proto.h index 7875c38a8a8..961b3e06a44 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 5ade8270d5d..508f71b44ee 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,