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:34:19 +0000 (18:34 -0700)
not lp_unix_extensions().

Jeremy.

source3/smbd/reply.c

index 3e8e716b6afd3e74f682271b4903dfc63ef45fce..43ca479e281fc55e0e4bba409247104077e84ff0 100644 (file)
@@ -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