summaryrefslogtreecommitdiffstats
path: root/source/smbd/conn.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-06-15 18:36:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:57 -0500
commitcf84c0fe1a061acc0313f7db124b8f947cdf623d (patch)
tree9793fd065214eb18a50b6e09b472f699f8d6c1da /source/smbd/conn.c
parent4da976dbd07e70726055cc4251fd1c26f63b3b2c (diff)
downloadsamba-cf84c0fe1a061acc0313f7db124b8f947cdf623d.tar.gz
samba-cf84c0fe1a061acc0313f7db124b8f947cdf623d.tar.xz
samba-cf84c0fe1a061acc0313f7db124b8f947cdf623d.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.
Diffstat (limited to 'source/smbd/conn.c')
-rw-r--r--source/smbd/conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/conn.c b/source/smbd/conn.c
index e083e144263..34e19a3ca6b 100644
--- a/source/smbd/conn.c
+++ b/source/smbd/conn.c
@@ -161,7 +161,7 @@ void conn_close_all(void)
connection_struct *conn, *next;
for (conn=Connections;conn;conn=next) {
next=conn->next;
- set_current_service(conn, True);
+ set_current_service(conn, 0, True);
close_cnum(conn, conn->vuid);
}
}