[Bug 561281] [NEW] case sensitivity option (case sensitive=no) is not honored

Sven Ehret sven.ehret at gmail.com
Mon Apr 12 09:08:37 BST 2010


Public bug reported:

Binary package hint: samba

In my setup using samba's “case sensitive = no” option it is not
possible for Windows machines to create files with the same filename but
different cases. Example: “file.test” can not reside next to
“FILE.test”.

However, when a LINUX client (Gentoo) connects to the SAMBA share, it is
allowed to create such files, ignoring SAMBA's case sensitivity option.
When the same LINUX client connects to a Windows share the behaviour is
correct.

$ lsb_release -rd
Description:    Ubuntu lucid (development branch)
Release:        10.04

$ apt-cache policy samba
samba:
  Installed: 2:3.4.7~dfsg-1ubuntu2
  Candidate: 2:3.4.7~dfsg-1ubuntu3
  Version table:
     2:3.4.7~dfsg-1ubuntu3 0
        500 http://dz.archive.ubuntu.com/ubuntu/ lucid/main Packages
 *** 2:3.4.7~dfsg-1ubuntu2 0
        100 /var/lib/dpkg/status


mount options (output of mount command):
//<samba-machine>/<share> on <mount point> type cifs (rw,mand,relatime,unc=\\<samba-machine>\<share>,username=<username>,domain=<domain>,uid=0,noforceuid,gid=0,noforcegid,addr=<ip address>,file_mode=0755,dir_mode=0755,nocase,rsize=16384,wsize=57344)

global section in smb.conf:
[global]
  log level = 2
  netbios name = <netbios name>
  workgroup = <workgroup>
  wins server = <wins server>
  map to guest = Bad User
  encrypt passwords = true
  domain master = no
  local master = yes
  domain logons = yes
  os level = 63
  passdb backend = ldapsam:ldap://127.0.0.1/
  obey pam restrictions = no
  security = user
  ldap admin dn = <ldap admin dn>
  ldap ssl = no
  ldap delete dn= yes
  ldap group suffix = ou=Groups
  ldap machine suffix = ou=Computers
  ldap user suffix = ou=Users
  ldap suffix = <ldap suffix>
  winbind nested groups = no
  winbind trusted domains only = yes
  case sensitive = no

share section in smb.conf:
[<share name>$]
  path = <path>
  browseable = no
  writeable = yes
  inherit acls = yes
  inherit permissions = yes
  create mask = 775
  directory mask = 775
  write list = <write list>
  nt acl support = no
  vfs objects = recycle
  recycle: repository = __Trash
  recycle: keeptree = Yes
  recycle: exclude = *.tmp, *.temp, *.log, *.ldb
  recycle: exclude_dir = tmp
  recycle:versions = Yes

explanatory behaviour:
# cd /mounts/samba-share
# touch file.test
# touch FILE.test
# ls *.test
FILE.text  file.test
# cd /mounts/windows-share
# touch file.test
# touch FILE.test
# ls *.test
file.test

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: samba 2:3.4.7~dfsg-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-19.28-generic 2.6.32.10+drm33.1
Uname: Linux 2.6.32-19-generic x86_64
NonfreeKernelModules: vmnet vmci vmmon
Architecture: amd64
Date: Mon Apr 12 09:35:02 2010
InstallationMedia: Error: [Errno 13] Permission denied: '/var/log/installer/media-info'
ProcEnviron:
 LANG=en_US
 SHELL=/bin/bash
SambaServerRegression: No
SourcePackage: samba

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
case sensitivity option (case sensitive=no) is not honored
https://bugs.launchpad.net/bugs/561281
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list