summaryrefslogtreecommitdiffstats
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-02-11 16:12:29 -0500
committerSimo Sorce <idra@samba.org>2010-02-11 16:27:17 -0500
commit5d92d969dda450cc3564dd2265d2b042d832c542 (patch)
treea7e62129dce16e8b9509db7ac3d85566ca38a2ac /source3/smbd/filename.c
parent94865e4dbd3d721c9855aada8c55e02be8b3881e (diff)
downloadsamba-5d92d969dda450cc3564dd2265d2b042d832c542.tar.gz
samba-5d92d969dda450cc3564dd2265d2b042d832c542.tar.xz
samba-5d92d969dda450cc3564dd2265d2b042d832c542.zip
Introduce lp_safe_widelinks()
This way we avoid any chance that a configuration reload may turn back on wide links when unix extensions are enabled.
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 ab79dfd926..73a3c36062 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -854,7 +854,7 @@ NTSTATUS check_name(connection_struct *conn, const char *name)
}
}
- if (!lp_widelinks(SNUM(conn)) || !lp_symlinks(SNUM(conn))) {
+ if (!lp_safe_widelinks(SNUM(conn)) || !lp_symlinks(SNUM(conn))) {
NTSTATUS status = check_reduced_name(conn,name);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(5,("check_name: name %s failed with %s\n",name,