diff options
author | Jeremy Allison <jra@samba.org> | 2004-06-15 18:36:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:57 -0500 |
commit | 2acd0848663f28afedff9b11b738e048f5ead2cc (patch) | |
tree | 3f36e5c0fc1bba20f626ae58ee5cfa9371a4f8d0 /source3/include | |
parent | 2895acb6e7c476e88735096b7f5d01f616739fe3 (diff) | |
download | samba-2acd0848663f28afedff9b11b738e048f5ead2cc.tar.gz samba-2acd0848663f28afedff9b11b738e048f5ead2cc.tar.xz samba-2acd0848663f28afedff9b11b738e048f5ead2cc.zip |
r1154: Change default setting for case sensitivity to "auto". If set to auto
then is the client supports it (current clients supported are Samba and
CIFSVFS - detected by the negprot strings "Samba", "POSIX 2" and a bare
"NT LM 0.12" string) then the setting of the per packet flag smb_flag
FLAG_CASELESS_PATHNAMES is taken into account per packet. This allows
the linux CIFS client to use Samba in a case sensitive manner.
Additional command in smbclient "case_sensitive", toggles the
flag in subsequent packets.
Docs to follow.
Jeremy.
(This used to be commit cf84c0fe1a061acc0313f7db124b8f947cdf623d)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/client.h | 1 | ||||
-rw-r--r-- | source3/include/smb.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index 968b73f0b41..52a6c76299d 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -153,6 +153,7 @@ struct cli_state { BOOL (*oplock_handler)(struct cli_state *cli, int fnum, unsigned char level); BOOL force_dos_errors; + BOOL case_sensitive; /* False by default. */ /* was this structure allocated by cli_initialise? If so, then free in cli_shutdown() */ diff --git a/source3/include/smb.h b/source3/include/smb.h index 9100701e212..a802e962266 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1349,7 +1349,8 @@ enum ldap_ssl_types {LDAP_SSL_ON, LDAP_SSL_OFF, LDAP_SSL_START_TLS}; enum ldap_passwd_sync_types {LDAP_PASSWD_SYNC_ON, LDAP_PASSWD_SYNC_OFF, LDAP_PASSWD_SYNC_ONLY}; /* Remote architectures we know about. */ -enum remote_arch_types {RA_UNKNOWN, RA_WFWG, RA_OS2, RA_WIN95, RA_WINNT, RA_WIN2K, RA_WINXP, RA_WIN2K3, RA_SAMBA}; +enum remote_arch_types {RA_UNKNOWN, RA_WFWG, RA_OS2, RA_WIN95, RA_WINNT, + RA_WIN2K, RA_WINXP, RA_WIN2K3, RA_SAMBA, RA_CIFSFS}; /* case handling */ enum case_handling {CASE_LOWER,CASE_UPPER}; |