[Samba] Re: limiting netlogon scripts to a subnet?
John H.
mistamaila at yahoo.com
Sun Jul 3 18:54:30 GMT 2005
woops, i was thinking it'd be done on the server,
nevermind.
so the following should work?
rem Grab IP address and dump to a file
ipconfig >"%userprofile%\ipconfig.txt"
echo Checking for your location
findstr "192.168.1" "%userprofile%\ipconfig.txt"
if errorlevel 1 goto notLoading
echo Loading Databases ....
rd /S /Q C:\Access\Databases
xcopy /C /Y /K /F /Z /Q /E /H Q:\Access\FrontEnds
C:\Access\Databases\
goto end
:notLoading
echo Not loading Databases
goto :end
:end
--- Michael Lueck <mlueck at lueckdatasystems.com> wrote:
> On Sun, 3 Jul 2005 11:45:57 -0700 (PDT), John H.
> wrote:
>
> >the thing is, what if people log on at the same
> time,
> >and everyone is using temp?
>
> Hua? temp should be pointed local. And usually temp
> is even some place under
> their user profile for the user version of temp
> whereas system temp points to
> some place else.
>
> So, how could multiple sign on to the same
> workstation at the same time? (If
> this is not a term services environment that is, and
> if it were refer back to
> user vs system temp and see how that is in your
> enviornment)
>
> Sorry, don't quite follow the root of your concern
> with using temp...
>
> Michael Lueck
> Lueck Data Systems
> http://www.lueckdatasystems.com/
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the samba
mailing list