Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Map non novell network drive at login 1

Status
Not open for further replies.
Jul 11, 2001
53
GB
I am using netware 5.1 and we also have a SUN box with a application that everyone needs. The users need to be authenticated to the sun box at login. I have run a batchjob in the startup menu (Win 98) using netuse and this works fine. Does anyone know though how to put the following code into a novell login script-

net use \\sun1\live_var orch
net use \\sun1\test_var orch
net use \\sun1\demo_var orch
net use \\sun1\bo_inst orch
net use \\sun1\bo_data orch
net use \\sun1\convert orch
net use \\sun1\oa_spool orch
net use \\sun1\oa_distrib orch
exit

I have tried running the batchjob but it says i must login before i can run the script.





 
If you put the commands into one of your container login scripts preceeding each NET command with a # (so command reads #NET USE etc...), it should work ok.

Where was you getting the error about logging in? -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
I've found that you need to authenticate to the NT domain before the NET USE will work (so putting the #NET USE into netware script won't necessarily work). I've need told by building a batch file with NET USE and attaching it to a Zen policy it will work (as policies run AFTER authentication to NT). You will also get prompted to log in if your password on NT differs from the Novell one. You can build the password into the NET USE with:

#NET USE \\server\share password

Assuming the script will run!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top