Treat file names in POSIX-like case-sensitive fashion by default
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 16 Jan 2009 21:41:36 +0000 (16:41 -0500)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Fri, 16 Jan 2009 21:41:36 +0000 (16:41 -0500)
commit1c77c7f3d5b6cb29fac4606299c237c0e299f836
treef50abf80313313ef68781f9550d7ae434092874c
parent3fe974c4feed33187294a0cb922c20f7dbfeaf43
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
source3/include/libsmb_internal.h
source3/include/libsmbclient.h
source3/libsmb/libsmb_context.c
source3/libsmb/libsmb_server.c
source3/libsmb/libsmb_setget.c