You can use the "IF NETWORK_ADDRESS" option within the login script
to detect the local subnet
where users are logged in. This will allow you to dynamically map drives to a local Novell server
if the user is logging into a remote WAN
connected site. This can be done with no re-configuration on the user's part, or any changes to the Novell client.
An example will demonstrate:
REM site1 (10.30.0.1 to 10.30.255.255)
IF NETWORK_ADDRESS>"0A1E0001" AND NETWORK_ADDRESS<"0A1EFFFF" THEN
SET BUILDSERVER = "SERVER1"
REM site2 (10.32.0.1 to 10.32.255.255)
IF NETWORK_ADDRESS>"0A200001" AND NETWORK_ADDRESS<"0A20FFFF" THEN
SET BUILDSERVER = "SERVER2"
REM site3 (10.34.0.1 to 10.34.255.255)
IF NETWORK_ADDRESS>"0A220001" AND NETWORK_ADDRESS<"0A22FFFF" THEN
SET BUILDSERVER = "SERVER3"
REM Map drive to folder in local city USR volume
MAP ROOT H:=%BUILDSERVER\USR:VOLUME\%USERNAME
REM Map drive to NetWare server APPS: volume
MAP ROOT M:=%BUILDSERVER\APPS:
It is required to make the source variables on all NAL objects as identical as possible, including:
- Installation paths (driveletter:\app\app.exe)
- Template paths (driveletter:\templates\template folder)
This will allow the files to be pulled from the local server rather than across a WAN link.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.