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

2010-04-21 Thread Sven Ehret
** Changed in: samba (Ubuntu)
   Status: Incomplete = New

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-04-21 Thread Sven Ehret
 Does setting preserve case=no solve your issues ?

No, as “touch test.test ; touch TEST.test” still creates two separate
files.

Anyhow, “touch file.test ; ls FILE.test” (correctly) returns FILE.test?

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-04-21 Thread Sven Ehret
–– more importantly, with “preserve case = no” it is seems to be
impossible to create mixed-case file names; but only from Windows, LINUX
does allow this…?

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-04-21 Thread Sven Ehret
My conclusion for now:

 Does setting preserve case=no solve your issues ?

YES, BUT it creates a new critical issue. With this option, it is no
longer possible to create files with the case that the file passes (see
smb.conf). They are forced to be the default case (lower).

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-04-21 Thread Sven Ehret
hm… might “short preserve case = no” be the key?

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-04-21 Thread Sven Ehret
** Changed in: samba (Ubuntu)
   Status: New = Invalid

** Description changed:

  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
- 
+   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
+   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
+   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
+  LANG=en_US
+  SHELL=/bin/bash
  SambaServerRegression: No
  SourcePackage: samba

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-04-12 Thread Sven Ehret

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/43896901/Dependencies.txt

** Attachment added: SambaInstalledVersions.txt
   http://launchpadlibrarian.net/43896902/SambaInstalledVersions.txt

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-04-12 Thread Thierry Carrez
I think what you're looking for is the preserve case option (default
to yes, which means new files are created with original case preserved).
case sensitive is just use to match existing files (default to auto).

See man smb.conf for details. Marking as invalid (not a bug), please
reopen with more detail if you disagree.


** Changed in: samba (Ubuntu)
   Status: New = Invalid

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-04-12 Thread Sven Ehret
I disagree.

The problem is that when, for example, two files “test.test” and
“test.TEST” are being addressed they should be treated as the exact same
file, as case sensitivity should be off and SAMBA should not care about
letter cases. They do when being addressed by a Windows (7) machine, in
my setup, but they do not when they are being created by a LINUX client
(mount options see above). When they are created by that LINUX machine,
SAMBA allows “test.test” and “TEST.test” to be two different,
independent files when it should not.

I do not think that the client is the issue because when being connected
to a Windows share the behaviour is as desired.

** Changed in: samba (Ubuntu)
   Status: Invalid = New

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

2010-04-12 Thread Thierry Carrez
SMB shares work with a negotiation between the capabilities of the server and 
the capabilities of the client.
By default, it tries to enable as many features as possible. By default (case 
sensitive=auto, preserve case=yes), when using Linux clients to connect to 
Linux servers, you'll get full case support. If you want to emulate the limited 
capabilities of a Windows server, you should at least set the following:

case sensitive=no
preserve case=no

That should give you the intended (mis)behavior.

How a file is represented on the filesystem differs from how a file is
resolved on the filesystem. Recent windows all have case-sensitive file
names, but it resolves case-insensitively. preserve case is about how
Samba creates files in shares (representation) while case insensitive
is about how Samba resolves them. case sensitive=no doesn't make all
Samba magically case insensitive, as you seem to think it should do.
There are a few other options that affect cases sensitivity, as you'll
see by reading up man smb.conf (or
http://oreilly.com/catalog/samba/chapter/book/ch05_04.html)

Does setting preserve case=no solve your issues ?

** Changed in: samba (Ubuntu)
   Importance: Undecided = Low

** Changed in: samba (Ubuntu)
   Status: New = Incomplete

-- 
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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs