Explanation of Gateway Services for NetWare

Last reviewed: November 21, 1997
Article ID: Q121394

The information in this article applies to:
  • Microsoft Windows NT Advanced Server version 3.1
  • Microsoft Windows NT Server versions 3.5, 3.51, and 4.0
  • Microsoft Gateway Services for NetWare

SUMMARY

The objective of Gateway Services for NetWare (GSNW) is to allow Microsoft networking clients to access files that reside on NetWare servers without having to load NetWare client software. Following is a brief description of how GSNW works.

MORE INFORMATION

GSNW Details

A Server Message Block (SMB) request can come from a variety of Microsoft Networking clients over a variety of network transport protocols. For example, the Microsoft client could be a Windows NT client using Remote Assess Service (RAS) to dial into the network or a Windows for Workgroups client attached directly on the network, either using IPX/SPX, TCP/IP, or NetBEUI.

When an SMB request reaches the Windows NTAS file gateway machine, it is initially picked up by the Windows NT Server Service (SRV.SYS) [1].

         --------------------------------------------
         |      Windows NTAS GSNW Gateway           |
         --------------------------------------------
                            |
                            |
      ---------------------------
[1]   |  SMB file I/O request:  |        -----------------------
      |  open ,create, delete   |----->  | outgoing NCP packet | ---->
      |                         |        -----------------------
      |    Properties:          |
      | share name= \\KOACH     |
      | file path= \SYS\DATA    |
      | file name = MYDATA.DAT  |
      ---------------------------
      |                         |
      |       Transport         |
      |                         |
      ---------------------------

The MS Networking client sends out the SMB request. If the request is a file manipulation request (a request that requires a file handle to be returned), SRV.SYS uses the above share name, file path, and file name to open the file object [2]. It

            |------------------------------------------|
            |      Windows NTAS GSNW Gateway           |
            --------------------------------------------
                               |
                               |
     ---------------------------------------------------------
     |        [2]                                 [3]        |
     |   -----------------             -------------------   |
     |   |    SRV.SYS    |             |    NWRDR.SYS    |   |
     |   -----------------             -------------------   |
     ---------------------------------------------------------
                               |
                               |
incoming SMB packet ----->        outgoing NCP packet ----------->


In the example above, the object name is \device\nwrdr\koach\sys\data\mydata.dat. SRV.SYS calls the Windows NT API NTCreateFile, passing the object name. The Windows NT I/O manager uses the file object name to call into NWRDR.SYS [3], passing NWRDR.SYS information on the security token of the object that sent the SMB. Based on the security token, NWRDR.SYS determines if the request was from a local account or a remote request. If the request was a remote request, NWRDR.SYS uses the gateway credentials when sending the file manipulation NCP to the NetWare file server [4].

            |------------------------------------------|
            |      Windows NTAS GSNW Gateway           |
            --------------------------------------------
                               |
                               |

-----------------------               ----------------------------
| Incoming SMB Packet | ---->         |  NCP file I/O request:   |
|                     |               |  open, create, delete    |[4]
-----------------------               |                          |
                                      |    Properties:           | -->
                                      |  share name= \\KOACH     |
                                      |  file path = \SYS\DAT    |
                                      |  file name = \MYDATA.DAT |
                                      |                          |
                                      ----------------------------
                                      |           IPX            |
                                      ----------------------------

NWRDR.SYS returns the file handle to the Windows NT I/O manager, which then returns the file handle to SRV.SYS. Further SMB traffic related to this file manipulation request (for example, if the file manipulation request was to open a file for reading) will be sent directly to NWRDR.SYS by SRV.SYS using the file handle.

NetWare is manufactured by Novell, Inc., a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.


Additional reference words: wfw wfwg prodnt 3.1 3.5 hook gsnw
KBCategory: kbnetwork
KBSubcategory: ntnetserv ntprotocol ntinterop
Keywords : NTINTEROP ntnetserv NTPROTOCOL kbnetwork
Version : 3.10 3.50
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.