case sensitive = yes and zfs casesensitivity = insensitive
Richard Sharpe
realrichardsharpe at gmail.com
Fri Jun 19 15:26:21 MDT 2015
Hi,
We were testing with this option in Samba master with ZFS and it was not
working, and it seems to revolve around the need for a change like this:
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -472,7 +472,9 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
* won't help.
*/
- if ((conn->case_sensitive || !(conn->fs_capabilities &
+ if ((lp_case_sensitive(SNUM(conn))
+ || conn->case_sensitive
+ || !(conn->fs_capabilities &
FILE_CASE_SENSITIVE_SEARCH)) &&
!mangle_is_mangled(smb_fname->base_name,
conn->p
Did someone break this functionality at some time?
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)
More information about the samba-technical
mailing list