summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h5
-rw-r--r--source3/smbd/msdfs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index d1d2c90905..bf3adb556b 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -9829,6 +9829,11 @@ NTSTATUS resolve_dfspath_wcard(TALLOC_CTX *ctx,
const char *name_in,
char **pp_name_out,
bool *ppath_contains_wcard);
+NTSTATUS create_conn_struct(TALLOC_CTX *ctx,
+ connection_struct **pconn,
+ int snum,
+ const char *path,
+ char **poldcwd);
/* The following definitions come from smbd/negprot.c */
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index 8e83a6c17e..32240ff0d5 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -215,7 +215,7 @@ static NTSTATUS parse_dfs_path(connection_struct *conn,
Note this CHANGES CWD !!!! JRA.
*********************************************************/
-static NTSTATUS create_conn_struct(TALLOC_CTX *ctx,
+NTSTATUS create_conn_struct(TALLOC_CTX *ctx,
connection_struct **pconn,
int snum,
const char *path,