summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-05-14 01:22:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:35 -0500
commit400bed7a68ccdeeb8c50326e817788e01b155907 (patch)
tree9c11dc1572d59d1d76cf60ead07ac9a75fad5b13 /source3
parent5cc86fe405ba6d0d241270942bc0988db7efd053 (diff)
downloadsamba-400bed7a68ccdeeb8c50326e817788e01b155907.tar.gz
samba-400bed7a68ccdeeb8c50326e817788e01b155907.tar.bz2
samba-400bed7a68ccdeeb8c50326e817788e01b155907.zip
r716: Fix for bugid #1345 (Macromedia Homesite cannot connect anymore after upgrade to 3.0.4).
Cause was premature optimization in unix_convert(). My fault, sorry. Jeremy. (This used to be commit e5438f0a841e8ea57b515544cbf638c38405ed55)
Diffstat (limited to 'source3')
-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);
}