summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-05-28 01:54:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:50 -0500
commitcb03592c067a8e475a5f96f72aa0e84ba176a747 (patch)
tree48a275d64babf847a8639e7306e96873eb142f68 /source3/smbd/filename.c
parent0823cb35175929b0c1dd00369037441293b89ec9 (diff)
downloadsamba-cb03592c067a8e475a5f96f72aa0e84ba176a747.tar.gz
samba-cb03592c067a8e475a5f96f72aa0e84ba176a747.tar.bz2
samba-cb03592c067a8e475a5f96f72aa0e84ba176a747.zip
r933: When using widelinks = no, use realpath to canonicalize the
connection path on connection create for the user. We'll be checking all symlinked paths are below this directory. Jeremy. (This used to be commit b562fe9fbca4971059b913959bbaca02af42c1a4)
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index 5e5f572691..67329b51e6 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -135,7 +135,7 @@ BOOL unix_convert(pstring name,connection_struct *conn,char *saved_last_componen
if (SMB_VFS_STAT(conn,name,&st) == 0) {
*pst = st;
}
- DEBUG(5,("conversion finished %s -> %s\n",orig_path, name));
+ DEBUG(5,("conversion finished \"\" -> %s\n",name));
return(True);
}