How to Map Drives to NT Servers from NetWare Login Script.

(Last modified: 17Jun2003)

This document (10024207) is provided subject to the disclaimer at the end of this document.

goal

How to Map Drives to NT Servers from NetWare Login Script.

How to use NET USE from a NetWare login script.

Is it possible to map drives to NT servers from NetWare login scripts?

fact

Formerly TID 2907518

Novell Client 4.7 for Windows NT/2000

Novell Client 3.2 for Windows 95/98

fix

The Novell NetWare client does not understand the Microsoft Windows "NET USE" command. For this reason you must have access via a local drive or NetWare mapping to the net.exe program. The syntax in the login script would include the # symbol prior to the net command to indicate to the script parser to shell out and run the external command. The script processor of the client will execute a command shell and attempt to locate the external command. Once found the syntax provided for the command is executed. The # symbol will force the login script to halt execution until after the command has terminated. For simultanuous execution use the @ symbol instead. This will allow the login script to continue on to the next command while the external net use command is executed in the background. If the necessary resource for the following commands are dependent on the success of the external map command then do not use the @ symbol. For example, you could use the following line in a NetWare login script:

#NET USE G: \\NTSERVER\NTSHARE (This will pause the script until the net command completes)

or

@NET USE G: \\NTSERVER\NTSHARE (This will run in the background and not pause the login script)

(where NTSERVER is the NETBIOS name of the NT server and the NTSHARE is a share off of the NT/Microsoft resource).

For further help on using the NET USE command, type NET USE /? from a DOS prompt.

If the NET USE command is used in a NetWare login script on a Windows 95/98 machine, the NET USE command may fail because you need to be authenticated to NT prior to successfully running a NET USE command. To get the NET USE command to work, you may need to change the Primary Network Logon from the Novell NetWare Client to the Microsoft Client for Microsoft Networks in order to authenticate to the NT domain first before running the NetWare login script.

On a Windows NT/2000 machine the Novell NetWare client GINA is integrated with the Microsoft GINA. Because of this integration, the authentication to the NT server/domain may take place prior to running the NET USE command in the NetWare Login script. If this fails, it may be necessary to run an NT login script directly from the NT domain instead of using the NET USE command in a NetWare login script. The bottom line on using the Microsoft NET USE command is authentication to the NT domain prior to its execution.

document

Document Title: How to Map Drives to NT Servers from NetWare Login Script.
Document ID: 10024207
Solution ID: 1.0.45223394.2471460
Creation Date: 04Jan2000
Modified Date: 17Jun2003
Novell Product Class:NetWare
Novell BorderManager Services
Novell eDirectory

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts 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.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.