summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_context.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-01-17 13:33:25 -0500
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>2009-01-17 13:33:39 -0500
commit6d300399b52e0921ce205ef2f053b722b21edeeb (patch)
treec37c1ff554ddabf931af2e3ff702890e12283e39 /source3/libsmb/libsmb_context.c
parent9b3c38f4afe2b15159c8659b5916740493f7b60c (diff)
downloadsamba-6d300399b52e0921ce205ef2f053b722b21edeeb.tar.gz
samba-6d300399b52e0921ce205ef2f053b722b21edeeb.tar.bz2
samba-6d300399b52e0921ce205ef2f053b722b21edeeb.zip
Determine case sensitivity based on file system attributes.
- Most of the time, we can determine from the file system we're connecting to whether it supports case sensitivity. In those cases, we now set the internal case sensitivity flag automatically. For those cases where the request to retrieve file system attributes fails, we'll use the user-specified option value. Derrell
Diffstat (limited to 'source3/libsmb/libsmb_context.c')
-rw-r--r--source3/libsmb/libsmb_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_context.c b/source3/libsmb/libsmb_context.c
index ca8ceedbc2..c2c33e5302 100644
--- a/source3/libsmb/libsmb_context.c
+++ b/source3/libsmb/libsmb_context.c
@@ -69,7 +69,7 @@ smbc_new_context(void)
smbc_setOptionFullTimeNames(context, False);
smbc_setOptionOpenShareMode(context, SMBC_SHAREMODE_DENY_NONE);
smbc_setOptionSmbEncryptionLevel(context, SMBC_ENCRYPTLEVEL_NONE);
- smbc_setOptionCaseSensitive(context, True);
+ smbc_setOptionCaseSensitive(context, False);
smbc_setOptionBrowseMaxLmbCount(context, 3); /* # LMBs to query */
smbc_setOptionUrlEncodeReaddirEntries(context, False);
smbc_setOptionOneSharePerServer(context, False);