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

User login script will not run for new users.

Status
Not open for further replies.

jkauff

MIS
Joined
Mar 6, 2003
Messages
6
Location
US
Using Novell client for windows 4.9 on W2000 workstation and Netware 5.1. I have 2 users defined some time ago where the user script runs fine, but the same script will not run for new users. The new users look the same to me when I compare them in Netware Administrator.

Any suggestions would be appreciated.
Thanks
 
is it a container script or what is it?

 
It is a User login script.
 
Yes, here is a suggestion. Don't use USER scripts. Use Container scripts. Then you don't have to worry about it.

Marvin Huffaker MCNE, CNE
Marvin Huffaker Consulting
 
yep go with container scripts
user scripts are nasty , horrible things

use the container script and then if member of blah blah group then map to blah blah

users scripts make life to hard

on there pc they do have the tick saying run scripts
 
I added the user maps to the end of the Container script and get the same result - eg w,x,y.z are mapped for my old users but not the new ones. The container script is below:

; Conatainer script


;###### Norton AntiVirus Corporate Edition SECTION START #######
;# Do not modify this section
IF MEMBER OF ".CN=NortonAntiVirusUser.O=CHRMC" THEN
MAP INS S1:=OR_SURGI\SYS:\LOGIN\NAV
IF "%OS" = "WIN95" OR "%OS" = "WIN98" THEN
#VP_Log32 /p=\\OR_SURGI\SYS\LOGIN\NAV
ELSE
#OSVER
IF "%ERROR_LEVEL" = "1" THEN
ELSE
IF "%ERROR_LEVEL"="3" OR "%ERROR_LEVEL"="2" OR "%ERROR_LEVEL"="17" THEN
#\\OR_SURGI\SYS\LOGIN\NAV\OSVER
IF "%ERROR_LEVEL" = "1" THEN
ELSE
#VP_Log32 /p=\\OR_SURGI\SYS\LOGIN\NAV
END
END
END
END
MAP DEL S1:
END
;###### Norton AntiVirus Corporate Edition SECTION END #######

REM Win 2000 with Novell 5.1
REM 3/15/2004

MAP F:=OR_SURGI\LIVE:MAP Z:=OR_SURGI\SYS:\PUBLIC
MAP Y:=OR_SURGI\LIVE:MAP X:=OR_SURGI\LIVE:MAP W:=OR_SURGI\LIVE:MAP V:=OR_SURGI\LIVE:
 
In your new users, check the user login script and ensure it is blank eg. if there is an END or EXIT command in there, take it out.

I take it the new users are under the same container as the existing ones?

-----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
do the users have rights to the directory that you are mapping to

check where the existing ones get the rights for the directories - are they in a group or are they getting rights at the top of the volume

use the effective rights tab and have a look
 
The rights seem to be the same. I have put pauses's in both the container script and the user script on one that is working - but I get no pauses when I connect. So I don't seem to be finding where this script really is...
 
I am sortof curious to learn why you wnat 5 drive mappings to the same place. That's way too much for end users to deal with.

Marvin Huffaker MCNE, CNE
Marvin Huffaker Consulting
 
We have 5 maps because that is what McKesson specs for their SurgiServer product.
 
I happen to know that that NAVCE script loads in the login script of the parent container of the server where NAVCE is loaded. I.e., say you have NAVserver.SomeOrg.MasterOrg, that script originates in the .SomeOrg.MasterOrg login script.

Still with me? Now you've got a user, say, SomeUser.SomeDept.SomeOrg.MasterOrg

In the SomeDept login script, you need to have:
INCLUDE .SomeOrg.MasterOrg

Hope this helps...
 
It turns out the problem was that I had the client set as bindery only. We changed to NDS and the scripts now work as advertised. Thanks to all for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top