summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-05-13 00:20:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:33 -0500
commit89db7e100193c3b895180730f49061424a806c8e (patch)
tree750f01f8ee5b3bc309c21aea9782cf5986da0629 /source3/smbd/filename.c
parenteffc7c0487da4212003e52aab71d1fb727a5aa77 (diff)
downloadsamba-89db7e100193c3b895180730f49061424a806c8e.tar.gz
samba-89db7e100193c3b895180730f49061424a806c8e.tar.bz2
samba-89db7e100193c3b895180730f49061424a806c8e.zip
r656: Make widelinks use realpath(). Tidy up cases where we need to become a service.
Jeremy. (This used to be commit a03b6a05e02ec8415efc0e8ceade102e06f8fffe)
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 692c7f7610..a7223e7527 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -399,7 +399,7 @@ BOOL check_name(pstring name,connection_struct *conn)
}
if (!lp_widelinks(SNUM(conn))) {
- ret = reduce_name(conn,name,conn->connectpath);
+ ret = reduce_name(conn,name);
}
/* Check if we are allowing users to follow symlinks */