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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

5.1 login script not executed

Status
Not open for further replies.

atang

Programmer
Mar 12, 2007
12
0
0
CN
We had this novell 5.1 server and I was trying to define a login
script for a particular user using a 98se workstation. I define
the script under the user's property but it never seem to execute.
What do I need to execute the script when the user's logs in?
Tks for helping out.
 
Post your script -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
A couple of things...

First, if you are trying to execute a User-related Login Script, is there a Container or Profile Login Script that is also being executed? If so, take a look at the end of the Login Script for an EXIT command. It might just say EXIT, it might say something like EXIT "something.bat".

Either way, if there is an EXIT command, this will cause all further Login Script to stop and exit.

Just to verify, also make sure the RUN SCRIPTS option is checked on the Client!

Good Luck.

 
First, I would like to thank you for your help.

My script is just a map drive command :
map k:=vl1:abc
where 'abc' is a drive on the volume 'vl1'
infact I am just trying out so I didn't put too much in
the script.

Control Panel -> Network -> Client for netware networks ->
Properties. I check the RUN SCRIPT here and I hope that
is what you are referring to!!!!
 
First, I would like to thank you for your help.

My script is just a map drive command :
map k:=vl1:abc
where 'abc' is a drive on the volume 'vl1'
infact I am just trying out so I didn't put too much in
the script.

Control Panel -> Network -> Client for netware networks ->
Properties. I check the RUN SCRIPT here and I hope that
is what you are referring to!!!!

This is the only script I have and nothing else
 
Like Sal said, check your Container login scripts and ensure that there is not an "EXIT entry in one of them. This WILL stop User Login scripts from running. -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
This time I create a container login script with something like
map j:=vl1:user

But still I got nothing. Even if there is a profile login script, the
container ls should execute first. But it didn't seem to be
working. Any ideas now? (I am not too sure how to make
a profile login script although I know what it can do)

By the way how can I locate all the login scripts on the server and
examine them one by one, just to see if there is a login script
that I have missed. Can I use Start -> Locate files and with what
extension are them?



 
It doesn't work like that. The NDS stuff (including login scripts) are stored in a hidden directory - so hidden you cannot access it from a workstation and it is difficult to access it from the server console.

The directory, for reference, is SYS:_NETWARE. I usually use TOOLBOX to access it from the server console, but don't make a habit of it or you could stuff your NDS up big time.

The only thing you can do is check all your container and profile scripts manually. -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
I know I should not access them 'outside' a control environment.
But it seems that I have done everything but with no expected
results. You guys help me out please?
 
Here's an example of what I use on most of my servers.

rem Map Search Drives
map root s16:=servername\sys:\public

rem Map User Drivers
map root h:=vol1\user\%1 --%1 parses the login name
map root j:=vol1\w95apps\jetformmap root m:=vol1\ccmailpomap root s:=vol1\share

You then give the person the appropriate rights to whatever files are in those directories. This can be done by group, by template, by individual user etc.
 
Tks guys, I think I know the syntax of the script (I had some
former experience with 3.12 and there shouldn't be much
difference between the script syntax) But my problem is
that they just don't run!!!!!!! I would go straight to the user
scripts since there is only 7 persons there. I manipulate the
container script only because I want to make sure that there
is no 'EXIT' in it that keep me from my user script. The only
reason I want to know where the container and profile scripts
are is just because I want to clear them out of my user script's
way. Please.
 
If I was you, create a group and make the 7 users a member of the group.

Then, configure your container script so that it does something like the following:

IF MEMBER OF "GROUPNAME.ORGANIZATION.OU" THEN
MAP K:=SERVER/VOLUME:DIRECTORY
END

This way you don't have to bother with user profile scripts, you can just have one main script to manage. -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
OK, I know how to make thing better, but I had to make it good
(working good) first and now it isn't even working OK. Please
the basics first : how to make them work in the first place before
attempting to make it work better.
 
A couple more questions for you.

#1. What happens if other user accounts (like admin) are logged in?
#2. Were these accounts created with a template?
#3. Is the login successful? Does the "Results" window stop or does it disappear?

 
It just occurred to me what the problem is. Here is a snip from your previous post:

"Control Panel -> Network -> Client for netware networks "

You are using the Microsoft's Client for Netware. This is why your scripts are not running properly. You need to go to Novell's site to download client 332.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top