Você está na página 1de 8

Novell Netware Login Script Instructions

**translated from german webpage**

Network connecting and access:


ATTACH CONTEXT Manufacture a connection between a workstation and a server Set the user context in the NDS Change the standard drive assembly during the Loginscript one implements Connect from net drive assemblies Connection to another NDS tree make, in order to access its resources

DRIVE

MAP TREE

Login Script execution:


# An external program starts and waits, with the continuation of the Scripts, until this is terminated. An external program starts in the background, i.e. the Script keeps running. Permit the user to break off the Loginscript Terminates the Loginscript

BREAK EXIT

FIRE or FIRE PHASERS Or plays a WAV file spends a clay/tone "pasers.wav". GOTO IF&THEN Implements a jump within the Scriptes. Caused execution of an instruction.

INCLUDE

An independent file implements or another Loginscript than part this Loginscriptes. Prevented that is implemented the standard Userloginscript, likewise a container or a Userlogin or a profile Script. Waits for a depressing the key within the Scripts. Or overwrites a profile Script in a container Script sets.

NO_DEFAULT

BREAK PROFILES

MORE Sets the server by that the Binderyloginscript is read. SCRIPT_SERVER SHIFT TERM The sequence in that changes %n the variables to be interpreted. Stopt the Loginscript and returns the delivery a "error code".

Workstation Enviroment:
SET SET_TIME An environment variable sets The time of the workstation equates with that of the first Netware server, to which the workstation is connected.

Expenditure:
DISPLAY FDISPLAY WRITE A text file indicates. If a test data file indicates, however control character filters etc.. Spends a text in the Loginfenster.

other:

LOAD-logintimate REMARK

Date and time indicates, when the user announced itself last. Comment lines

Example Script:
WRITE "" WRITE "Good"; GREETING_TIME;", "; GIVEN_NAME LOAD-log-intimate WRITE "" WRITE "is it now: %HOUR24:%MINUTE, %DAY_OF_WEEK %DAY %MONTH_NAME %YEAR " WRITE "you announce themselves of"; < COMPUTER NAME >; "also"; OS; ""; WINVER; "on" WRITE "station: %STATION, network: %NETWORK " WRITE "" WRITE "permit-eat the password to change:: %PASSWORD_ALLOW_CHANGE " WRITE "min. password length: %PASSWORD_MINIMUM_LENGTH " WRITE "password necessary: %PASSWORD_REQUIRED " ;WRITE "network ADDRESS restriction: %NETWORK_ADDRESS_RESTRICTION " WRITE "simultaneous registrations permits: %LOGIN_MAXIMUM_SIMULTANEOUS " WRITE "" IF MEMBER OF "GROUP1" OR MEMBER OF "GROUP2" OR MEMBER OF "GROUP3" THEN MAP G:=FS2/Groups: \ END map root i:=%HOME_DIRECTORY ;fire phasers if OS="winnt "WRITE" application manager is started & " if "@\\%FILE_SERVER\SYS\public\nalexpld.exe/time:30 OS="winnt

Novell Netware Login Script Variables

Date
Variable one DAY DAY_OF_WEEK MONTH MONTH_NAME SHORT_YEAR YEAR Function Day NUMBER (01 through 31) Day OF week (Monday, Tuesday, etc..) Month NUMBER (01 through 12) Month name (January, February, etc..) Load two digit OF year (99, 00, 01) All four digits

NDAY_OF_WEEK Weekday NUMBER (1 through 7; 1=Sunday)

NDAY_OF_WEEK NUMBER OF day OF the week

Time
Variable one AM_PM HOUR HOUR24 LOAD-logintimate a.m. or p.m. Hour (12-hour scale; 1 through 12) Hour (24-hour scale; 00 through 23) note load-log-intimate works differently with the GUI window 95/98/NT login script use LOAD-log-intimate on A LINE all by itself instead, Write "%LASTLOGINTIME" wants emergency work. Minute (00 through 59) Second (00 through 59) Function GREETING_TIME Time OF day (morning, afternoon, evening)

MINUTE SECOND

User

Variable one ACCOUNT_BALANCE ADMINISTRATIVE_ASSISTANT ALLOW_UNLIMITED_CREDIT CERTIFICATE_VALIDITY_INTERVAL CN DESCRIPTION EMAIL_ADDRESS EQUIVALENT_TO_ME LOGIN_ALIAS_CONTEXT MORE FACSIMILE_TELEPHONE_NUMBER FULL_NAME

Function

User's full login name as it exists in eDirectory

"Y" if REQUESTER_CONTEXT is on alias

User's unique username. It is the VALUE OF the FULL_NAME property for both eDirectory and bindery based NetWare. Spaces of acres replaced with underscores (_). User's surname in eDirectory or full login name in bindery based NetWare User's context Username Group object that the user is assigned tons Group object that the user is emergency assigned tons Number of days, until the current password runs off Context when login started User ID (Bindery object ID of the user)

LAST_NAME LOGIN_CONTEXT LOGIN_NAME MEMBER OF "group" EMERGENCY MEMBER OF "group" PASSWORD_EXPIRES REQUESTER_CONTEXT USER_ID MORE GENERATIONAL_QUALIFIER GIVEN_NAME

GROUP_MEMBERSHIP HIGHER_PRIVILEGES HOME_DIRECTORY INITIAL INTRUDER ADDRESS LANGUAGE L MORE LOCKED_BY_INTRUDER LOGIN_ALIAS_CONTEXT LOGIN_DISABLED LOGIN_GRACE_LIMIT LOGIN_GRACE_REMAINING LOGIN_MAXIMUM_SIMULTANEOUS MAILBOX_ID MAILBOX_LOCATION MAILSTOP MORE MESSAGE_SERVER MINIMUM_ACCOUNT_BALANCE NEW_MAIL OBJECT_CLASS OU PASSWORD_ALLOW_CHANGE PASSWORD_EXPIRES PASSWORD_MINIMUM_LENGTH PASSWORD_REQUIRED PASSWORD_UNIQUE_REQUIRED PASSWORDS_USED PHYSICAL_DELIVERY_OFFICE_NAME POSTAL_ADDRESS hidden attributes which CAN emergency accessed. Department Locality

POSTAL_CODE POSTAL_OFFICE_BOX PRIVATE_KEY PROFILES S SA SECURITY_EQUALS SECURITY_FLAGS SEE_ALSO SUPERVISOR SURNAME MORE TELEPHONE_NUMBER USER_ID State Street ADDRESS Use Security Equals or Security Equal ton instead. Emergency A user property

Network
Variable one MORE ACCESS_SERVER MORE FILE_SERVER NETWORK_ADDRESS NETWORK NETWORK_ADDRESS_RESTRICTION SERVER_HOLDS Name of the NetWare server Address of the IPX net, in which the Client is Network ADDRESS Function

Work station

Variable one MACHINE

Function Type OF computer (IBM_PC, etc..)

MORE Version OF the NetWare RequesterTM for OS/2 * or NETWARE_REQUESTER VLMTM users OS OS_VERSION P_STATION PLATFORM SHELL_TYPE SMACHINE STATION WINVER REQUESTER_CONTEXT REQUESTER_VERSION REVISION Type OF operating system on the workstation Version of the Client operating system Node ADDRESS (Ethernet hardware address) of the Clients (12-digit hexadecimaldecimal) Workstation's operating system platform Version of the NetWare Shell Short machine name (IBM *, etc..) Workstation's connection NUMBERS Version OF the workstation's Windows operating system

Other one
Variable one Function ERROR_LEVEL DOS return value of the last external Script COMMAND

Environment variable (DOS)


Variable one Function COMSPEC e.g.. WRITE "COMSPEC :"; < COMSPEC > NWLANGUAGE TZ Time zone

Você também pode gostar