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!

Login Script help needed! 1

Status
Not open for further replies.

LawnBoy

MIS
Mar 12, 2003
2,881
It could be that I'm overlooking the obvious, but I need some help here trying to map drives.

My tree would be: somejerk.CCC.BBB.AAA

I can map drives in the somejerk object, and in the CCC container. I can't seem to get ANY command to operate in the BBB or AAA containers, it's as if those scripts weren't even there. The server I'm logging into is in the same branch as CCC, one level under BBB, if that matters.

I have full Admin privileges, and can edit the scripts; even if I login as Admin itself and edit the scripts they still don't run.

Any suggestions?


 
Oh yeah, I'm running NetWare 5.0 sp6a server and client 4.81
 
Have you got NDS replicas of .BBB.AAA and .AAA onsite on the same local LAN? You may find that you do if you don't already.

Also, I take it your login scripts all have the INCLUDE lines so each login script includes the script for the container above? i.e. your CCC login script incudes the BBB login script which includes the AAA login script

-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Yes, the network is in fact only one LAN, but set up for future expansion.

I haven't heard of an INCLUDE statement. I thought each successive script automatically included any previous script. The script in .somejerk auto includes the script in .CCC, I know for sure.

As far as what's in those scripts, I'm just trying to do a simple MAP i.e.

MAP U=servername\volume:directory

And yes, I'm sure there's a LF/CR and the end of each script.
 
Maybe you jsut typed it wrong but this example is incorrect:
MAP U=servername\volume:directory
It should be:
MAP U:=servername\volume:directory
Notice the colon after the drive letter.

JON
 
Err, yes, just a typo.

To be perfectly clear, a MAP that works in .somejerk or .CCC won't work in .BBB or .AAA, even when copied and pasted.
 
Are the servers you want to map to in the same organizational unit as your login context? If they are not you should try mapping with the below syntax:

map root x:=.server_volume.ou-name.tree-name:\directory-name

Please note the use of the underscore between the server name and the volume name. Also, the colon comes after the name of the tree. All of the examples for mappings I have seen so far in your posts all look like bindery mappings. I had the same problem as you are experiencing once before. I was able to fix it with the above syntax which refers to servers and volumes by their NDS object names.
 
I'm not having a syntax problem. The PAUSE command will not execute either. The scripts are not being executed.

...and I can't think of a single way to screw up PAUSE... (but somebody will prove me wrong).
 
The only way of properly checking is to make sure of the following:

1. Make sure your somejerk.CCC.BBB.AAA login script has an INCLUDE statement so that it includes the CCC.BBB.AAA login script

2. Make sure that your CCC.BBB.AAA login script has an INCLUDE statement so that it includes the BBB.AAA login script

3. Make sure your BBB.AAA login script has an INCLUDE statement so that it includes the AAA login script



-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
U da Man, TheLad. Context .somejerk doesn't need INCLUDE for .CCC, but .CCC does need one for .BBB So in .CCC's login script I placed INCLUDE .BBB.AAA and it works like a charm.

Thanks VERY much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top