Configuration notes for 16bit windows kerberos:

On the workstation, you will need to add the following to your autoexec.bat:

  set TZ=CST6CDT
You may wish to add a utility to the startup group of your windows computer which updates the time on the client machine. You can find many of these here.

Second, you will need to copy the enclosed krb.con file to your c:\windows directory. You will also need to copy the enclosed "kerberos.ini" file to your c:\windows directory.

Compile notes:

  1. On the unix host, edit the Makefile.in file in the krb-1.0/src directory, and modify the kerbsrc.zip target to be the following: (diff available on request)
    kerbsrc.zip: Makefile.sav awk-windows-mac winfile.list
            rm -f kerbsrc.zip
            $(ZIP) -Dl kerbsrc.zip `cat winfile.list`
            $(ZIP) -D kerbsrc.zip $(WINBINARYFILES)
            mv Makefile.sav Makefile
            rm -f $(CLEANUP)
    
    The target as it defaults in this directory would create the zipfile by truncating all filenames to 8.3 format. However, the source code and makefiles are not modified to point to the new 8.3 filenames.

  2. do a "make -f Makefile.in kerbsrc.zip" in your krb1.0/src directory.

  3. Download the kerbsrc.zip to your windows 95 machine.

  4. You will need a copy of either unzip5.2 (later than jan, 1996) or a copy of Winzip32 to unpack the kerbsrc.zip file. You must unpack it with long file names intact for the compile to go smoothly. Unpack this file to c:\k5 .

  5. You will need to use a copy of MSVC1.5. This version is the very latest one which can build a 16bit windows target.

    If you can't find an installer for MSVC15, but can only find an installed copy of MSVC1.5, run the following batch file in the command.com session you make the source tree with:

     ------newsetup.bat----
    @echo off
    rem change  to be the path to your copy of MSVC
    path=%path%;\bin
    set LIB=\lib
    set INCLUDE=\include
     -----------------------
    
  6. cd to c:\k5 and type "nmake -c". It will take about a half hour to compile. Ignore warning messages indicating that "blah.obj does not exist"; MSVC is being "helpful" by telling you that it can't find the obj file, and is therefore compiling that target.

  7. You will need to copy the following files into a single directory (c:\done)

     c:\k5\lib\krb5_16.dll c:\done
     c:\k5\lib\krb5_16.dll c:\done\libkrb5.dll
     c:\k5\lib\gssapi.dll c:\done
     c:\k5\windows\wintel\telnet.exe c:\done
     c:\k5\cns.exe c:\done
    
    There is a bug in one of the .def files (which specify which dll to load to find functions) which causes the two execs to look for libkrb5.dll and not the newly-renamed krb5_16.dll. I believe the fix is as simple as replacing the line

    LIBRARY         LIBKRB5   
    
    with
    LIBRARY         KRB5_16
    
    in the file c:\k5\lib\krb5_16.def, but I did not test this.

    Anyway, at this point, you can run CNS to get your initial ticket, and then run telnet to register.aiss.uiuc.edu or wherever you like. If you get wierd error messages like "Unknown error 1034", it means you need to put the kerberos.ini and krb.con files into your windows directory.