diff options
author | Simo Sorce <idra@samba.org> | 2010-02-11 16:12:29 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2010-02-11 16:27:17 -0500 |
commit | 5d92d969dda450cc3564dd2265d2b042d832c542 (patch) | |
tree | a7e62129dce16e8b9509db7ac3d85566ca38a2ac /source3/smbd/vfs.c | |
parent | 94865e4dbd3d721c9855aada8c55e02be8b3881e (diff) | |
download | samba-5d92d969dda450cc3564dd2265d2b042d832c542.tar.gz samba-5d92d969dda450cc3564dd2265d2b042d832c542.tar.bz2 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/vfs.c')
-rw-r--r-- | source3/smbd/vfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c index 94bdb1f495..b575800335 100644 --- a/source3/smbd/vfs.c +++ b/source3/smbd/vfs.c @@ -928,7 +928,7 @@ NTSTATUS check_reduced_name(connection_struct *conn, const char *fname) } /* Check for widelinks allowed. */ - if (!lp_widelinks(SNUM(conn))) { + if (!lp_safe_widelinks(SNUM(conn))) { const char *conn_rootdir; conn_rootdir = SMB_VFS_CONNECTPATH(conn, fname); |