Tier 1 and tier 2 script – 8e6 Technologies Enterprise Filter Authentication R3000 User Manual

Page 226

Advertising
background image

A

PPENDIX

A: A

UTHENTICATION

O

PERATIONS

T

IER

2: T

IME

-

BASED

, W

EB

A

UTHENTICATION

212

8

E

6 T

ECHNOLOGIES

, R3000 I

NTERNET

F

ILTER

A

UTHENTICATION

U

SER

G

UIDE

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

Advertising