Newsgroups: comp.sys.novell
Path: utzoo!censor!geac!maccs!nimios!krasnor
From: krasnor@nimios.eng.mcmaster.ca (Carl Krasnor)
Subject: Error in Login Script only upon Workstation Cold Boot
Message-ID: <1991Feb14.092159.4635@maccs.dcss.mcmaster.ca>
Keywords: administration supervisor
Sender: Carl Krasnor, krasnor@SSCvax.CIS.McMaster.CA
Organization: Communications Research Laboratory

Server: 286/12MHz, 4MB RAM, running ANW 2.15c w/MAC vaps

Problem: The server has three disk volumes: SYS:, USR1: and USR2:. Users
         may have home directories on any of those volumes. I have created
         three Netware groups, HOMESYS, HOMEUSR1 and HOMEUSR2 which are tested
         in the system login script to decide which volume to map as the user's
         first network drive. There are three lines in the system login script
         as follows:

    IF MEMBER of "HOMESYS" THEN MAP*1:=SYS:HOME/%LOGIN_NAME
    IF MEMBER of "HOMEUSR1" THEN MAP*1:=USR1:%LOGIN_NAME
    IF MEMBER of "HOMEUSR2" THEN MAP*1:=USR2:%LOGIN_NAME

On several workstations so far, the first login after a cold boot (of the
workstation) gets the message:

   (IF MEMBER OF "HOMESYS" THEN MAP*1:=SYS:HOME/JOEUSER) 
        Illegal idetifier in conditional of IF ... THEN statement.
   Remainder of login script ignored.
   etc...etc

But subsequent logins at the same workstation work as desired with no error!
I have tried this with carefully repeated conditions (same users etc). 
Every so often it will work without error even upon a cold boot. What gives?
Any ideas? Thanks in advance for any assistance.

-- 
===============================================================================
Carl Krasnor, Communications Research Lab, McMaster U., Hamilton, Ont. CANADA
krasnor@SSCvax.CIS.McMaster.CA  Tel:(416) 525-9140 x4171  FAX:(416) 521-2922
===============================================================================
