[Samba] Re: limiting netlogon scripts to a subnet?

Michael Lueck mlueck at lueckdatasystems.com
Sun Jul 3 23:46:40 GMT 2005


On Sun, 3 Jul 2005 11:54:30 -0700 (PDT), John H. wrote:

>ipconfig >"%userprofile%\ipconfig.txt"
> 	echo Checking for your location
>
>findstr "192.168.1"

You "should" be able to further simplify that to...

ipconfig|findstr...

but I will still suggest full pathing all calls to binaries!!! Here is an
example of what I mean...

%SystemRoot%\System32\NET.EXE USE /PERSIST:NO


Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/



More information about the samba mailing list