summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/filename.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index a7223e7527..5e5f572691 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -132,6 +132,10 @@ BOOL unix_convert(pstring name,connection_struct *conn,char *saved_last_componen
if (!*name) {
name[0] = '.';
name[1] = '\0';
+ if (SMB_VFS_STAT(conn,name,&st) == 0) {
+ *pst = st;
+ }
+ DEBUG(5,("conversion finished %s -> %s\n",orig_path, name));
return(True);
}