[Bug 676304] Re: Samba fails with files having colon in file name

Ivan Kozik ivan at ludios.org
Tue Sep 26 22:17:08 UTC 2017


On xenial, I noticed that the Linux cifs client converts : to U+F022
(SFM_COLON) by default even when talking to a Samba with unix
extensions.  I think this happens in convert_to_sfm_char in linux's
fs/cifs/cifs_unicode.c.

You can use the undocumented mount option "nomapposix" to turn off those
character conversions, and then access to files with a colon works fine.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/676304

Title:
  Samba fails with files having colon in file name

Status in samba package in Ubuntu:
  Fix Released
Status in samba package in openSUSE:
  Confirmed

Bug description:
  smbd -V
  Version 3.5.4

  ver
  No LSB modules are available.
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.10
  Release:	       10.10
  Codename:   maverick
  Kernel:         2.6.35-22-generic
  Bit width:      32 bits
  Sound:          Advanced Linux Sound Architecture Driver Version 1.0.23.

  
  - Long file names including colon
  - Samba with mangling disabled

  I inserted "mangled names = no" to /etc/samba/smb.conf because I need
  to see long file names. That works ok except with those file names
  containing colon. I have a lot files containing colon in file name
  since those files are originally named according to date and time.
  That is very common with videos and photos. I have Linux-only
  environment i.e. colon is a legal character in a file name.

  Regression ?  Please see:

  https://bugzilla.samba.org/show_bug.cgi?id=6196

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/676304/+subscriptions



More information about the foundations-bugs mailing list