I have a need to prevent a certain user account being used on a subset of computers, all connected to the same Netware tree.
I thought about doing this in the user's login script. Each of our PCs has an environment variable called '_locn' that identifies where it is geographically. We currently use this in the login script to do lab-specific stuff. All the PCs we want to prevent the user using share the same '_locn' so I was thinking something along the lines of:
if "%<_locn>" = ".location4.workstations.tree" then
; Display a popup saying this account is disabled in this lab with maybe a timeout
; Logout user after they click OK
I cannot find an easy way to do this. Any ideas?
Workstations have the Novell Client 4.91SP3 installed, and Zen for Desktops v7 is used for DLU on accounts.