home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q101 / 7 / 21.TXT < prev    next >
Encoding:
Text File  |  1993-11-16  |  3.0 KB  |  80 lines

  1. DOCUMENT:Q101721  04-NOV-1993  [W_NT]
  2. TITLE   :Disconnecting Null Session Disconnects Normal Sessions Too
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------
  14.  
  15. SUMMARY
  16. =======
  17.  
  18. If Server Manager is run on a server, a particular client has both
  19. normal and null sessions connected to that server, and the client has
  20. files opened over the normal session, telling Server Manager to
  21. disconnect the null session disconnects both sessions with no warning
  22. about the open files.
  23.  
  24. RESOLUTION
  25. ==========
  26.  
  27. Be very careful when disconnecting null sessions. If you really need
  28. to disconnect \\CLIENT from \\SERVER, disconnect all normal (non-null)
  29. sessions first. This will give you the appropriate warnings about open
  30. files.
  31.  
  32. MORE INFORMATION
  33. ================
  34.  
  35. Two types of sessions can be established between computers. Normal
  36. sessions have a user name and computer name associated with the
  37. client, and file operations occur over normal sessions. Null sessions
  38. have only a computer name (no user name), and null sessions are used
  39. for administrative purposes.
  40.  
  41. Steps to Reproduce Problem
  42. --------------------------
  43.  
  44. Assume that \\CLIENT has both normal and null sessions established
  45. with \\SERVER. Also assume that \\CLIENT has one or more files opened
  46. over the normal session, but no files opened over the null session.
  47.  
  48. 1. Run Server Manager and choose Properties from the Computer menu for
  49.    \\SERVER, and choose Users. 
  50.  
  51. 2. Select the null session in the Connected Users area. The null
  52.    session has a blank User column. 
  53.  
  54. 3. Choose Disconnect. You will get the following warning:
  55.  
  56.       Are you sure you want to disconnect USER from all connected
  57.       resources?
  58.  
  59. Choosing Yes will disconnect \\CLIENT from \\SERVER, closing any open
  60. files. Note that the warning makes no mention of open files.
  61.  
  62. Additional reference words: 3.10
  63. KBCategory:
  64. KBSubCategory: NETSRV NTAP
  65.  
  66. =============================================================================
  67.  
  68. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  69. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  70. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  71. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  72. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  73. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  74. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  75. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  76. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  77. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  78. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  79.  
  80. Copyright Microsoft Corporation 1993.