Treat file names in POSIX-like case-sensitive fashion by default
commit6b21fd6bfb3f70667b6c6b1292557e889cdabffb
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 16 Jan 2009 21:00:41 +0000 (16 16:00 -0500)
committerKarolin Seeger <kseeger@samba.org>
Wed, 28 Jan 2009 08:40:06 +0000 (28 09:40 +0100)
tree345a766a4044ac703c4316a56e6f3288679f2526
parent44f5047bfe8687c2eacc097d5b14c1e2a1bfcd55
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 ac4baafeb8d74bf1db7f2ce84b2bc3abdef90337)
source/include/libsmb_internal.h
source/include/libsmbclient.h
source/libsmb/libsmb_context.c
source/libsmb/libsmb_server.c
source/libsmb/libsmb_setget.c