On Fri, Jan 16, 2009 at 5:59 PM, simo <[email protected]> wrote: > On Fri, 2009-01-16 at 15:42 -0600, Derrell Lipman wrote: > > > > + /* POSIX-like - always request case-sensitivity by default. > > */ > > + if (smbc_getOptionCaseSensitive(context)) { > > + cli_set_case_sensitive(c, True); > > + } else { > > + cli_set_case_sensitive(c, False); > > + } > > + > > if (smbc_getOptionUseKerberos(context)) { > > c->use_kerberos = True; > > } > > Derrell, > *if* I am readying the code right, now every connection defaults to case > sensitive ? > If so I think this would break in case the server is case-insensitive. > > Shouldn't this options set to true by default only if the remote server > *is* case sensitive ?
I can't imagine why there would be a function for specifying the case sensitivity (cli_set_case_sensitive) if it were possible to determine whether the remote server *is* case sensitive. If it is possible then the case-sensitive setting should be automatically configured when the connection is established. What am I missing here? Is there ever a time that you'd want case sensitive when the server is not, or vice versa? Derrell
