summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-05-28 01:00:58 +0000
committerJeremy Allison <jra@samba.org>2003-05-28 01:00:58 +0000
commit03f046dd9920b3f3c00e97afc06d1857297583ee (patch)
treeb713ecaf3bf8b21a1007c29d6284ef7d4f9bf769 /source3
parent1a6f9e5a868fdcad6c3c302703d4f1c213786c6f (diff)
downloadsamba-03f046dd9920b3f3c00e97afc06d1857297583ee.tar.gz
samba-03f046dd9920b3f3c00e97afc06d1857297583ee.tar.bz2
samba-03f046dd9920b3f3c00e97afc06d1857297583ee.zip
It seems only NT4 does the VC == 0 session drop code.
Jeremy. (This used to be commit 30bbf4c8c4cbed0f7980237ea9b78baa785dec3d)
Diffstat (limited to 'source3')
-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
}
/****************************************************************************