summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-09-22 18:34:19 -0700
committerJeremy Allison <jra@samba.org>2010-09-22 18:34:19 -0700
commit7170b875c26e2e43103b80da2376b020f0d1af4f (patch)
tree4f8d1c1ec748551c0e77c46daef9d4cf9ffdfc28
parent56f127d7367b8380cda76a8f1af11ce7a9095af4 (diff)
downloadsamba-7170b875c26e2e43103b80da2376b020f0d1af4f.tar.gz
samba-7170b875c26e2e43103b80da2376b020f0d1af4f.tar.bz2
samba-7170b875c26e2e43103b80da2376b020f0d1af4f.zip
Thank goodness for code reviews. Volker caught - this should be lp_posix_pathnames()
not lp_unix_extensions(). Jeremy.
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 3e8e716b6a..43ca479e28 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -6096,7 +6096,7 @@ NTSTATUS rename_internals_fsp(connection_struct *conn,
"%s -> %s\n", smb_fname_str_dbg(fsp->fsp_name),
smb_fname_str_dbg(smb_fname_dst)));
- if (!lp_unix_extensions() &&
+ if (!lp_posix_pathnames() &&
(lp_map_archive(SNUM(conn)) ||
lp_store_dos_attributes(SNUM(conn)))) {
/* We must set the archive bit on the newly