diff options
Diffstat (limited to 'src/windows/README')
-rw-r--r-- | src/windows/README | 48 |
1 files changed, 29 insertions, 19 deletions
diff --git a/src/windows/README b/src/windows/README index f30d029..eb221bc 100644 --- a/src/windows/README +++ b/src/windows/README @@ -1,29 +1,39 @@ Building & Running Kerberos 5 on Windows ---------------------------------------- -Kerberos 5 Windows support now only includes Win32 and no longer -includes Win16. +Kerberos 5 builds on Windows with MSVC++ 6.0. It may or may not build +with other compilers or make utilities. -We build Kerberos 5 on Windows just with MSVC++ 6.0. You should -not need anything else. We do not know whether it currently -builds with other compilers or make utilities. - -These build instructions assume that you got a standalong source -distribution of Kerberos 5 rather than the MIT Kerberos for Win32 +These build instructions assume that you have the standalone source +distribution of Kerberos 5 rather than the MIT Kerberos for Windows distribution (which includes a working Kerberos 4). There are two methods for building a Windows version of Kerberos 5. The traditional method involves starting on a Unix machine and creating a distribution that can be built on Windows. The second method works from the sources that come from the Unix distribution if -you have certain Unix-type utilities. +you have certain Unix-type utilities (see below). -IMPORTANT NOTE: By default, the sources are build with debug +IMPORTANT NOTE: By default, the sources are built with debug information and linked against the debug version of the Microsoft C -Runtime library, which is not found on most Win32 systems unless they -have development tools. To build a release version, you need to +Runtime library, which is not found on most Windows systems unless +they have development tools. To build a release version, you need to define NODEBUG either in the environment or the nmake command-line. +DNS Support: To support DNS lookups, you will need to define +KRB5_DNS_LOOKUP, KRB5_DNS_LOOKUP_KDC, or KRB5_DNS_LOOKUP_REALMS. The +DNS code will default to trying to use the wshelper library. If you +would rather use a resolver library whose include files more closely +match the Unix resolver library, define KRB5_NO_WSHELPER. You will +also need to define DNS_INC to point to the include directory for the +library and DNS_LIB to library itself. The default is not to support +DNS because the build cannot know whether there is a DNS resolver +library around for it to use. + +Building ms2mit requires that you have a reasonably recent Microsoft +Platform SDK installed. Anything starting at the Windows 2000 edition +should be fine. + Traditional Build Method: ------------------------ @@ -36,13 +46,13 @@ On the Unix side On the PC side -1) md \krb5 # Create where we'll put the tree +1) md \krb5 # Create dir where we'll put the tree 2) cd \krb5 3) unzip kerbsrc.zip - or - pkunzip -d kerbsrc.zip -4) nmake [NODEBUG=1] # Build the sources -5) nmake install [NODEBUG=1] # Copy headers, libs, executables +4) nmake [NODEBUG=1] [DNS-options] # Build the sources +5) nmake install [NODEBUG=1] # Copy headers, libs, executables All-Windows Build Method: @@ -52,8 +62,8 @@ First, make sure you have sed, gawk, cat, and cp. 1) cd xxx/src # Go to where the source lives 2) nmake -f Makefile.in prep-windows # Create Makefile for Windows -3) nmake [NODEBUG=1] # Build the sources -4) nmake install [NODEBUG=1] # Copy headers, libs, executables +3) nmake [NODEBUG=1] [DNS-options # Build the sources +4) nmake install [NODEBUG=1] # Copy headers, libs, executables Notes on the install Target: @@ -82,7 +92,7 @@ able to run the applications that are built. Note that Kerberos 5 will not look for the krb5.ini file in your path. -Krb5.ini File: +krb5.ini File: ------------- WARNING: Despite its name, this is not a Windows .ini file. @@ -128,7 +138,7 @@ Othes Issues: The krb4_32.dll that is built (but not installed) is not supported. If you need Kerberos 4, you can use the krbv4w32.dll that MIT -distributes as part of the MIT Kerberos for Win32 distribution. +distributes as part of the MIT Kerberos for Windows distribution. More Information: |