summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/service.c b/source/smbd/service.c
index dd09a6955e5..c3972391f32 100644
--- a/source/smbd/service.c
+++ b/source/smbd/service.c
@@ -38,7 +38,7 @@ static bool canonicalize_connect_path(connection_struct *conn)
#else
pstring resolved_name_buf;
#endif
- char *resolved_name = SMB_VFS_REALPATH(conn,path,resolved_name_buf);
+ char *resolved_name = SMB_VFS_REALPATH(conn,conn->connectpath,resolved_name_buf);
if (!resolved_name) {
return false;
}