summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-05-28 01:00:56 +0000
committerJeremy Allison <jra@samba.org>2003-05-28 01:00:56 +0000
commit7c9e4739d4825fc9d9f7c0b9b3e70172d18a5b1d (patch)
treed94e89dcc9863ad8b793d73229dd3a2667b50d43
parent8202e68e36c600bce8ec2e6ce700acc8f01f3164 (diff)
downloadsamba-7c9e4739d4825fc9d9f7c0b9b3e70172d18a5b1d.tar.gz
samba-7c9e4739d4825fc9d9f7c0b9b3e70172d18a5b1d.tar.bz2
samba-7c9e4739d4825fc9d9f7c0b9b3e70172d18a5b1d.zip
It seems only NT4 does the VC == 0 session drop code.
Jeremy. (This used to be commit a1fee6594ec90a80478deee48a40d908aecb2e73)
-rw-r--r--source3/smbd/sesssetup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 15d816bd6d..2631961739 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -495,13 +495,17 @@ static int reply_sesssetup_and_X_spnego(connection_struct *conn, char *inbuf,
/****************************************************************************
On new VC == 0, shutdown *all* old connections and users.
+ It seems that only NT4.x does this. At W2K and above (XP etc.).
+ a new session setup with VC==0 is ignored.
****************************************************************************/
static void setup_new_vc_session(void)
{
- DEBUG(2,("setup_new_vc_session: New VC == 0, closing all old resources.\n"));
+ DEBUG(2,("setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources.\n"));
+#if 0
conn_close_all();
invalidate_all_vuids();
+#endif
}
/****************************************************************************