From 7c9e4739d4825fc9d9f7c0b9b3e70172d18a5b1d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 28 May 2003 01:00:56 +0000 Subject: It seems only NT4 does the VC == 0 session drop code. Jeremy. (This used to be commit a1fee6594ec90a80478deee48a40d908aecb2e73) --- source3/smbd/sesssetup.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 } /**************************************************************************** -- cgit