1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00

It seems only NT4 does the VC == 0 session drop code.

Jeremy.
This commit is contained in:
Jeremy Allison 0001-01-01 00:00:00 +00:00
parent eb567e803e
commit 30bbf4c8c4

View File

@ -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
}
/****************************************************************************