From 7170b875c26e2e43103b80da2376b020f0d1af4f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 22 Sep 2010 18:34:19 -0700 Subject: Thank goodness for code reviews. Volker caught - this should be lp_posix_pathnames() not lp_unix_extensions(). Jeremy. --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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 -- cgit