

NOVELL TECHNICAL INFORMATION DOCUMENT

TITLE:              Mapping to NWDOS 7 on a NetWare Server
DOCUMENT ID:        TID021698
DOCUMENT REVISION:  A
DATE:               03AUG94
ALERT STATUS:       Yellow
README FOR:         NA

NOVELL PRODUCT and VERSION:
Novell DOS 7

ABSTRACT:
Mapping to NWDOS 7 on a NetWare Server

-----------------------------------------------------------------
DISCLAIMER
THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL.  NOVELL 
MAKES EVERY EFFORT WITHIN ITS MEANS TO VERIFY THIS INFORMATION.  HOWEVER, THE 
INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY.  NOVELL 
MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION.
-----------------------------------------------------------------

ISSUE

While VLMs or newer versions of LOGIN may handle the mapping-to-DOS
situation smoothly, many customers have had trouble getting users
mapped to the correct DOS directory on a NetWare server if the user
is booting Novell DOS (or DR DOS) and using NETx.

This issue comes about because NETx and some older versions of LOGIN
do not know how to check for these versions of DOS. Standard DOS
version checks on Novell DOS 7 reports MS DOS 6.00 (unless SETVER
reports differently). Under DR DOS, DOS 3.31 is reported. This
is necessary in order to satisfy programs which insist on seeing
certain versions of DOS.

There are other calls that can be made to see whether NWDOS or DRDOS
are actually present. Newer versions of LOGIN and/or the VLMs seem
to make use of these other calls. In addition to these other calls,
Novell DOS 7 and DRDOS 6.0 have environment variables called OS and
VER. By using the following command in your login script, you can
map either to ".....\NWDOS\7" or to "....\DRDOS\6.0":

MAP S16:=server\volume:subdir\%<OS>\%<VER>

Where "server" is the NetWare server name, "volume" is the volume
on the server where the DOS files are kept, and "subdir" is the
name of the subdirectory (or subdirectories, separated by back-
slashes) under which your various DOS directories are located.

Note that this line won't necessarily work with MS DOS/PC DOS,
because they do not set those variables. Therefore, you may want
to use the following just before the MAP command, in order to
insure it works regardless of operating system version:

IF <OS> <> "NWDOS" AND <OS> <> "DRDOS" THEN BEGIN
     DOS SET OS="%OS"
     DOS SET VER="%OS_VERSION"
END

See the Novell DOS manual or DOSBOOK for more information on
special environment variables unique to Novell DOS. See the


NetWare Installation manual for more information on login script
commands.

----------------------------------------------------------------
Any trademarks referenced in this document are the property of their 
respective owners.  Consult your product manuals for complete trademark 
information.
----------------------------------------------------------------
