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!

Search Drive 1

Status
Not open for further replies.

paradox1

MIS
Jan 28, 2002
9
US
I am migrating a Novell 3.12 server to 5.1 The question is does the SYS/Public have to mapped with a search drive. Further does this search drive have to be Z. My problem is that FoxPro is on my Novell server and a lot of hard coding is done pointing programs and tables to Z drive. If the sys/public needs to be a search drive, how do I prevent it from mapping to Z. Below is my Login Script

MAP ROOT H:=%HOME_DIRECTORY
MAP ROOT G:=NWSERVER01/VOL1:SHARED
IF MEMBER OF "G-ADMINS" THEN MAP ROOT N:=NWSERVER01/SYS:
IF MEMBER OF "G-ADMINS" THEN MAP ROOT V:=NWSERVER01/VOL1:
IF MEMBER OF "G-ADMINS" THEN MAP ROOT S16:=NWSERVER01/SYS:pUBLIC
IF MEMBER OF "G-FOXPRO_ADMINS" THEN MAP ROOT R:=NWSERVER01/VOL1:FOXPRO/SYSTEM
IF MEMBER OF "G-FOXPRO_USERS" THEN MAP ROOT Z:=NWSERVER01/VOL1:FOXPRO/USERS

;#This command is used to setup the Foxpro environment
DOS SET USER = "%LOGIN_NAME"

NO_DEFAULT
 
Move this line...

IF MEMBER OF "G-ADMINS" THEN MAP ROOT S16:=NWSERVER01/ SYS:pUBLIC

...after this one...

Z:=NWSERVER01/VOL1:FOXPRO/USERS

The line is mapping Z to SYS:public and then is being overwritten by the last command. If you move it to the last line, it will force the search drive to become Y:.

ChrisP
 
Thanks Fluid11,

I will try that today. Guess what Chris the 3.12 server will not mount Vol 2 after I rebuilt the drive again!!! Hope vrepair works :)

 
You may want to map the Z drive before mapping the search map. Otherwise, you might map the search drive to Z and them clobber it with the new map.
Dan
 
Dan, look 2 posts above yours:) ChrisP
MCSE (2K/NT4), CNE (NW5), CCNA, Linux+, Server+, i-Net+, Network+, A+, CIWA
 
Let me get this straight...You don't want the SYS:pUBLIC to be pointed to drive Z: right?
Then when you mapped it write it this way :
map S16:=Y:=NWSERVER01/SYS:pUBLIC
Your SYS:pUBLIC will now be mapped as search drive to drive Y:

This way you can manage all your search drive goes to which drive....


Regards,
Welly Lai
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top