Thank goodness for code reviews. Volker caught - this should be lp_posix_pathnames()
authorJeremy Allison <jra@samba.org>
Thu, 23 Sep 2010 01:34:19 +0000 (18:34 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 23 Sep 2010 01:38:03 +0000 (18:38 -0700)
not lp_unix_extensions().

Jeremy.
(cherry picked from commit 7170b875c26e2e43103b80da2376b020f0d1af4f)

source3/smbd/reply.c

index 72f09cd1cde1196f0baa72d412302c505ddcccad..5207ead969c8c47f42db843b7c7d5ada3438b051 100644 (file)
@@ -5976,7 +5976,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