diff options
author | Jeremy Allison <jra@samba.org> | 2003-05-28 01:00:58 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-05-28 01:00:58 +0000 |
commit | 03f046dd9920b3f3c00e97afc06d1857297583ee (patch) | |
tree | b713ecaf3bf8b21a1007c29d6284ef7d4f9bf769 /source3/smbd/sesssetup.c | |
parent | 1a6f9e5a868fdcad6c3c302703d4f1c213786c6f (diff) | |
download | samba-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/smbd/sesssetup.c')
-rw-r--r-- | source3/smbd/sesssetup.c | 6 |
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 } /**************************************************************************** |