Chapter 6. Password elimination using Windows 2003 KDC 155
ECHO.
ECHO All programs contained herein are provided to you "AS IS"
ECHO without any warranties of any kind. The implied warranties
ECHO of non-infringement, merchantability and fitness for a
ECHO particular purpose are expressly disclaimed.
ECHO.
ECHO.
ECHO NOTE: If any of the commands fail, such as KTPASS or SETSPN,
ECHO make sure that the directories that contain these commands
ECHO are included in the user's PATH statement on the KDC server.
ECHO.
ECHO.
ECHO.
@ECHO ON
setlocal
set WINVER=2003
ver | find "2000" >nul
if not errorlevel 1 set WINVER=2000
if %WINVER%==2000 (
NET USER rchas08_1_krbsvr400 navigator /ADD /workstations:none /DOMAIN
KTPASS -MAPUSER rchas08_1_krbsvr400 -PRINC krbsvr400/rchas08.itso.com@ITSO.COM ...