CHAPTER 1: INTRODUCTION AUTHENTICATION OPERATIONS

Tier 1 and Tier 2 Script

In an environment in which both Tier 1 and Tier 2 are used, this version of 8e6’s script should be inserted into the network’s login script. 8e6’s script attempts to remove the previous end user’s profile, and then lets the new user log in with his/her assigned profile.

echo off :startremove cls

NET USE \\10.10.10.10\LOGOFF$ /delete

:tryremove1

NET USE \\10.10.10.10\LOGOFF$ if errorlevel 1 goto :tryremove2

if errorlevel 0 echo code 0: Success goto :endremove

:tryremove2

NET USE \\10.10.10.10\LOGOFF$ if errorlevel 1 goto :tryremove3

if errorlevel 0 echo code 0: Success goto :endremove

:tryremove3

NET USE \\10.10.10.10\LOGOFF$ if errorlevel 1 goto :removalerror

if errorlevel 0 echo code 0: Success goto :endremove

:removalerror

if errorlevel 1 echo code 1: Failed to send removal request!

:endremove

net use \\10.10.10.10\LOGOFF$ /delete

8E6 TECHNOLOGIES, R3000 ENTERPRISE FILTER AUTHENTICATION USER GUIDE

39

Page 51
Image 51
8e6 Technologies R3000 manual Tier 1 and Tier 2 Script