User Guide

32 Novell Client for Windows
Novell Client for Windows
103-000159-001
December 7, 2001
Novell Confidential
Manual 99a38 July 17, 2001
For example, in the previous figure, although there are two levels of container
objects above users ESAYERS and SWILLIAMS, only the script for the
container they’re in (OU=SALES_PV) executes when they log in.
If the SALES_PV Organizational Unit had no container login script defined,
no container login script would execute for ESAYERS and SWILLIAMS,
even though a container login script exists at a higher level.
Because user SWILLIAMS has no user login script defined, the default login
script executes after the container login script.
Because user MRICHARD belongs to the profile CLERKS, the CLERKS
profile login script executes before MRICHARD’s user login script. Users can
be assigned to only one Profile object, but there are ways to get around this
restriction. See “Getting around the One Profile Login Script Restriction” on
page 34.
Creating or Modifying Login Scripts
You can use ConsoleOne
TM
to create login scripts from scratch or from a
sample login script that is provided for you. Using a sample login script can
help reduce syntax errors and thus reduce the time it takes to create login
scripts.
All four types of login scripts use the same conventions, commands, and
variables. For more information, see “Login Script Commands and Variables”
on page 59.
The main difference in creating container, profile, and user login scripts is the
object that you select to contain the login scripts. The default login script is
not assigned to any object.
Container login scripts are assigned to container objects (Organization or
Organizational Unit objects).
Profile login scripts are assigned to Profile objects. In order for a User
object to use a profile login script, you must select that User object and
assign it to the Profile object.
User login scripts are assigned to User objects.
IMPORTANT: Before you create or modify login scripts, you must have the Write
property right to the object that will contain the login script. In addition, the
Organization, Organizational Unit, Profile, or User object that you plan to assign the
login script to must already exist.