Treat file names in POSIX-like case-sensitive fashion by default
commit5381e478416e1c7e08b938a06b0491bdda169c39
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 16 Jan 2009 20:55:08 +0000 (16 15:55 -0500)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Jan 2009 13:16:48 +0000 (20 14:16 +0100)
tree95777571a504fe497b68e0613c2dbf2d8934eba4
parent6530d84cc18513b1bfaded4dbd01bd517d7b0831
Treat file names in POSIX-like case-sensitive fashion by default

*** THIS COMMIT CAUSES A CHANGE OF DEFAULT BEHAVIOR IN libsmbclient!!! ***

- libsmbclient now calls cli_set_case_sensitive() for a new CLI. By default,
  it requests case-sensitive, but the old behavior of case-insensitive can be
  requested with smbc_setOptionCaseSensitive(context, False);

  The change of behavior is considered a bug fix, as it was previously
  possible to accidentally overwrite a file that had the same case-insensitive
  name but a different case-sensitive name as a previously-existing file,
  while creating a new file.

Derrell
(cherry picked from commit 20b765f0a20fe7329559e4bf2a9dac4fe8e13c18)
source/include/libsmb_internal.h
source/include/libsmbclient.h
source/libsmb/libsmb_context.c
source/libsmb/libsmb_server.c
source/libsmb/libsmb_setget.c